Show or hide a widget from pages

Barring the discovery of a plugin that does this already (I’m not aware of any that specifically do what you want) you’ll need to create your own. add_meta_box and add_filter(‘widget_display_callback’, $instance, $widget, $args) should be the bulk of what you need

stuck with template hierarchy

I found a solution by changing my categories.php to category-slug.php and then putting the standard loop back into the the category.php file. All seems good now.

Lead Generation with Cookies in WordPress

Try using the jQuery Cookie plugin You can set a cookie to start with that could be called InfoSubmitted with value of ‘No’ and when they submit their info it changes to ‘Yes’ To set the cookie first make sure jQuery and the Cookie plugin are installed and then use this: jQuery.cookie(‘InfoSubmitted’, ‘No’); Once the … Read more

SSL problems with WordPress

You can follow this tutorial to setup Administration Over SSL at the WordPress codex. It explains how to setup your configuration to use SSL on the Admin area.

WordPress create new on site when a new page is added

Figured it out, there is no such thing as “dataslug”, changed it to “data-slug” and it worked perfectly. Really stupid mistake. I guess most people don’t use the tag, but if anyone wants to know you could easily replace it with a and give it a ‘scrollto’ class using the scrollto jquery plugin. Just a … Read more

Pulling sub-site content into specific pages

This can be achieved with the help of a plugin. A custom, hand coded, solution can be built analyzing and modifying the code of such plugin(s). Searching for “multisite + widget“, I found one plugin of interest. Multisite Posts Get posts from another child site in a multisite setup. You can also integrate the plugin … Read more