tnk
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Cycle] [Plugin: WP-Cycle] How do I Add a Arrow Navigationglad it worked ??
As far as i know javascript: void(0) is used to avoid the page scroll to the top when links have empty anchors (#), the plugin is taking care of that, there is no scrolling to the top when links are clicked.
About SEO i don’t know # seems fine vs that line of js ??
Forum: Plugins
In reply to: [WP-Cycle] [Plugin: WP-Cycle] How do I Add a Arrow Navigation<script type="text/javascript"> jQuery(document).ready(function($) { $("#<?php echo $wp_cycle_settings['div']; ?>").cycle({ fx: '<?php echo $wp_cycle_settings['effect']; ?>', timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>, speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>, pause: 1, pager: '#nav', fit: 1 }); }); </script>
You missed a ‘
then add to your theme:
<?php wp_cycle(); ?> <div id="nav"></div>
as for the other example you must add this to your theme:
<?php wp_cycle(); ?> <a id="prev" href="#">Prev</a> <a id="next" href="#">Next</a>
hope that helped
Forum: Plugins
In reply to: [WP-Cycle] [Plugin: WP-Cycle] How do I Add a Arrow Navigation@danmichel add pager: ‘#nav’ as i comment above. Please refer to https://jquery.malsup.com/cycle for more examples and functionalities ??
Forum: Plugins
In reply to: [WP-Cycle] [Plugin: WP-Cycle] How do I Add a Arrow NavigationEdit wp-cycle.php at the bottom of the file you will find the code below and you need to add:
next: ‘#next’,
prev: ‘#prev’,<script type="text/javascript"> jQuery(document).ready(function($) { $("#<?php echo $wp_cycle_settings['div']; ?>").cycle({ fx: '<?php echo $wp_cycle_settings['effect']; ?>', timeout: <?php echo ($wp_cycle_settings['delay'] * 1000); ?>, speed: <?php echo ($wp_cycle_settings['duration'] * 1000); ?>, pause: 1, next: '#next', prev: '#prev', fit: 1 }); }); </script>
This plugin is based in JQuery Cycle Plugin ( https://jquery.malsup.com/cycle/) you should be able to add anything extra shown there.
Forum: Plugins
In reply to: [Plugin: Cleaner Gallery] Disabling CSS in WP 2.9.2just noticed this way didn’t work any more (wp 3.0).
Updated code:
add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'cleaner-gallery' ); }
Forum: Fixing WordPress
In reply to: Images in WP Gallery Don't ShowI guess this is the translation for ih8gates solution, worked for me.
Added link=”file” to de gallery and the images were back.[gallery link="file"]
Forum: Plugins
In reply to: [Plugin: Cleaner Gallery] Disabling CSS in WP 2.9.2thanks mikaelwehner worked great! ??
@mmturner paste it before the ?> in your functions.php
//Remove Cleaner Gallery CSS wp_deregister_style("cleaner-gallery"); ?>
Forum: Themes and Templates
In reply to: Current Category at Single entriesthanks helped me too ^^
changed this line to list childs categories
$cats_list = wp_list_categories( 'echo=0&child_of=3&title_li=');
Forum: Plugins
In reply to: Dynamic menu:How to highlight category when single post is displayed?change !is_single() for is_single()
the ! is telling NOT in single