Let visitors show/hide a type of content

JavaScript is your friend! More specifically jQuery is your friend. You can us wp enqueue script and do something like this: Add this to your themes functions.php <?php function my_scripts_method() { wp_enqueue_script(‘jquery’); } add_action(‘wp_enqueue_scripts’, ‘my_scripts_method’); // ?> Then either in your header or by writing a custom .js file then enquiring it use the following … Read more

How to remove the tripadvisor logo from the wordpress theme?

If you open header.php and remove line 96: <a class=”ta-bug” title=” TripAdvisor ” href=”http://tripadvisor.com”><img src=”<?php echo get_stylesheet_directory_uri(); ?>/images/TA_bug.gif”></a>, it will be gone. I cannot speak to the legality of this with certainty, but by my understanding of GPL2.0, you should be set.

Insert the current theme header into an external HTML/XHTML file

The key to answer was found on SO; here is the solution for my case: create a PHP file with the following: <?php define(‘WP_USE_THEMES’, false); require(‘path/to/your-wordpress-dir/wp-blog-header.php’); get_header(); ?> //Contents of the body of your XHTML page go here <?php get_footer(); ?> Now you have an external page in the format of your WordPress theme.

iPad WordPress theme?

It definitely is possible, and you should really read the WordPress Codex before diving in, and read it in-depth. It’s very well documented and usually a simple Google search will bring up answers for many of your questions. The WordPress Codex will explain everything for you, especially this page for your situation, regarding creating a … Read more

Open portfolio image in light box

There is actually a great plugin for this. http://wordpress.org/extend/plugins/fancybox-for-wordpress/ “fancy box for wordpress” I have tried a few and lots of the time they dont work the way I want or dont work at all. This one has not failed me yet. It automatically turns galleries and images (if you link them to the FILENAME.jpg) … Read more

Child theme breaks after update of master theme

The only string to use the master is Template: twentyten in the style.css if child theme. Check, if this string correct or has the master change this. If you activate the master as Theme in your install, you find the string also in the database of the WP install, in table options, entry template and … Read more