Ajax call to transients

Without object caching plugins transients are stored using options API and, if set to expire, they have auto-load disabled. Meaning: First request to transient needs to fetch it from database. Subsequent requests will get data from memory. However note that “memory” here is memory space of single specific page load. It’s not shared and not … Read more

How can i maintain permalink structure and avoid a 404 error when loading external content?

You could use a WordPress rewrite (as opposed to mod-rewrite) to solve the issue. function createRewriteRules( $rules ){ $newrules = null; $newrules = array(); $newrules[“catalog/?$”] = “index.php?page=xx”; $rules = $newrules + $rules; return $rules; } add_action(‘rewrite_rules_array’, ‘createRewriteRules’); You’ll need to flush the rules: http://codex.wordpress.org/Function_Reference/flush_rewrite_rules Your page-catalog.php file could then sniff the original url and do … Read more

Images in sub-pages fail to load

Your problem has nothing to do with htaccess. It’s that you’re using relative paths where you should be using absolute paths. (Here’s an explanation of the difference) Probably the best way to reference any assets in your theme (assuming your theme has an “images” subdirectory) is to do something like: <?php echo get_bloginfo(‘template_url’) ?>/images/your_image.jpg The … Read more

WordPress -> PHPBB look a like

Simple:Press is what you are looking for. According to their Web site, they are “the number one forum plugin that integrates seamlessly into your WordPress website.” bbPress is another good one.

Add qtranslate language select box to menu [closed]

In my header.php I added the following <div style=”float: right; margin: 7px 15px 0 0;”> <?=qtrans_generateLanguageSelectCode(‘dropdown’);?> </div> <?=..?> is the same as <?php echo … ?> or <?php function(); ?>, but I prefer the shortcode just next to: <?php ct_primary_nav_menu(); ?>

Image rotator plugin

Content Slide can handle that. http://wordpress.org/extend/plugins/content-slide/ And the plugin site: http://www.snilesh.com/resources/wordpress/wordpress-plugins/wordpress-content-slide-plugin/ It’s a champ and handles all three of your conditions. ‘Bullets’ are square, you can mod that though. Have fun!