Denis Leblanc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I install a slide show like thisNivo Slider is the one I like to use. It’s super clean and easy to use. https://www.ads-software.com/extend/plugins/wp-nivo-slider/
Forum: Plugins
In reply to: [Easy Digital Downloads] Widget text misalignedCan you post a link to the live site so I can see the CSS?
Forum: Fixing WordPress
In reply to: Find the content of the text widgetYou can find the file at: /wp-includes/default-widgets.php on line 364.
You shouldn’t edit this file though cause next time you update WordPress it’s likely to get overwritten. You should only use it for reference if you’re creating a custom widget.
Here’s a good post on creating your own widgets: https://dev7studios.com/resources/wordpress-development-for-designers-part-1/
Forum: Fixing WordPress
In reply to: import my wordpress.com siteForum: Fixing WordPress
In reply to: IE 6 – does my website need to work in it?Hell no, IE6 is down to 0.6% market share as of April 2012. Most have given up support a long time ago. It all depends on your visitors though. If your site gets more then 5% traffic from IE6 then I’d consider getting it fixed.
IE7 is down to 2.3% so a lot of developers have given up support for it also. Mostly progressive enhancement stuff.
d.
Forum: Fixing WordPress
In reply to: Insert Ad after the first paragraph and "ol" tag inside post.Something like this would work:
<?php $orderedListAfter= 1; $content = apply_filters('the_content', get_the_content()); $content = explode("</ol>", $content); for ($i = 0; $i <count($content); $i++) { if ($i == $orderedListAfter) { ?> <!-- START OF AD CODE --> AdSense Code <!-- END OF AD CODE --> <?php } echo $content[$i] . "</ol>"; } ?>
Forum: Fixing WordPress
In reply to: add_image_size() not adding new sizes to media upload areaThanks Chip, that’s exactly what I needed.
d.
I had a custom menu called Library Nav that was causing the issue. From the database I browsed the wp_terms table and deleted the instance for that nav and everything worked.
Thanks everyone.
d.
Forum: Plugins
In reply to: Custom Post Type ParentWhen you create a custom menu item for the custom post type archive you have to include the entire url and not just ‘/your-custom-post-type-name’. If you use the entire url the wordpress url rewrite function will check it against all the other menu items as well as against all your pages and so on. What you end up with in the menu parent is something like ‘current-menu-ancestor current-menu-parent current_page_parent current_page_ancestor’.
Forum: Fixing WordPress
In reply to: style odd and even postsThanks, that works great. Just what I needed.