Sophiamolino
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionHope you are still here Esmi.
So, if I understand it right, I’ve to include a code in the functions.php for the use of jQuery in general. Not specifically for the marquees, but for all the jQuery’s. Is that correct?
I tried the following:
// smart jquery inclusion if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false); wp_enqueue_script('jquery'); }
Gained from: https://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
But it doesn’t work.
I really appreciate your help!
Gained from:Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionI guess that’s what goes wrong. I don’t see any enqueue in the template.
I copied this code in the head:
<?php wp_enqueue_script("marquee-packed"); ?>
But that still doesn’t work. Sorry, I really try to understand it, but I don’t have any knowledge about jQuery at all.
Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionYes Esmi, it contains a jQuery!
<script type="text/javascript" src="https://blogandthecity.net/js/marquee-packed.js" ></script> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#marquee, #marquee2").css("display", "block"); jQuery("#marquee, #marquee2").css("width", jQuery(window).height() + "px"); //create instance and call method horizontal for horizontal scrolling var horizontal = new marquee("marquee").horizontal( { step:1, //how many pixels to move per interval (default: 1) interval: 40, //how often to move pixels in miliseconds (default: 10) stop_on_hover: true, //should marquee stop on mouse hover (default: true) backwards: false, //rotate elements in opposite direction }); //create instance and call method horizontal for horizontal scrolling var horizontal = new marquee("marquee2").horizontal( { step:1, //how many pixels to move per interval (default: 1) interval: 40, //how often to move pixels in miliseconds (default: 10) stop_on_hover: true, //should marquee stop on mouse hover (default: true) backwards: false, //rotate elements in opposite direction }); }); </script>
Where can I check if this jQuery is bundled with WordPress?
Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionHmmm so, the version renewal doesn’t have to be the cause of it. But it’s quite a coincident that they are gone since this afternoon when I updated WordPress. Don’t you have any other suspicions of what the cause could be?
Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionIs it possible that the newest version of WordPress has changed something in the custom javascript of the marquees?
Forum: Fixing WordPress
In reply to: Marquees not showing in newest wordpress versionIt is part of the theme, but created myself (with help obviously haha)
Problem has been solved. Thanks so much!!
Forum: Fixing WordPress
In reply to: link template to pageThanks a lot!! I was exactly searching for that explanation! Creating a template worked out, though my codes were acting really weird through that new template.. With all kinds of /par /par /par
Do you know that?Did that worked out for u 10guy?
The plugin is great. It shows the category posts on specific pages.
It only shows the title of the posts, though I want the whole post to show up too. I read the instruction, but I’m using the plugin. Is it possible when using the plugin? Or could I better remove the plugin and do it myself?
Forum: Fixing WordPress
In reply to: link template to pageThank you for responding. I found the Page Attributes, though there is no “template” option. Guess it is not included in my template. Is it not possible at all?
Forum: Themes and Templates
In reply to: Distinguish posts by category and max amount of postsI removed now the:
`<?php if ( in_category(‘4’) ) { ?>
<div class=”post-cat-four”>`