Where did the “WP-Custom” plugin go?

According to the author’s website, the plugin has been removed as it is no longer beneficial when custom post types are available. However, if you are so inclined, you can download it from the above page.

WordPress Hide Widget If $_Session Is Active?

The easiest way to do this is via dynamic_sidebar() <?php if ($a == $b) // Your $_SESSION stuff dynamic_sidebar( ‘Right Sidebar’ ); ?> Any widgets contained in the “Right Sidebar” will now be loaded based on your condition. You should use this with register_sidebar() http://codex.wordpress.org/Function_Reference/dynamic_sidebar

ajax page template

As it seems, it’s an easier way, using get_template_part and some php magic. What you do is get the page name from post_metadata filter the filename without the extension and add it to get_template_part. Of course all your data must conform a predefined variable (or just pass the id to the template) because you have … Read more

How can users sort multiple pages?

<p>Sort by: <a href=”https://wordpress.stackexchange.com/questions/75316/<?php echo str_replace((“?’.$_SERVER[‘QUERY_STRING’]), ”, $_SERVER[‘REQUEST_URI’]).’/?sort=name’; ?>”>Property Name</a> | <a href=”https://wordpress.stackexchange.com/questions/75316/<?php echo str_replace((“?’.$_SERVER[‘QUERY_STRING’]), ”, $_SERVER[‘REQUEST_URI’]).’/?sort=type’; ?>”>Property Type</a> <?php if($_GET[‘sort’] == ‘name’) $wp_query = new WP_Query(array( ‘meta_query’ => array( ‘relation’ => ‘AND’, array( ‘key’ => ‘listing_status’, ‘value’ => array(‘Active’, ‘In Contract’), ), array( ‘key’ => ‘listing_type’, ‘value’ => ‘For Sale’ ) ), ‘paged’ => … Read more

Memory issue only in dashboard

(1) edit wp-settings.php [32M to 64M] (2) Try adding this line to your wp-config.php file: define(‘WP_MEMORY_LIMIT’, ’64M’); (you already have this, therefore ignore this step) (3) If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 64M: memory_limit = 64M ; Maximum amount of memory a … Read more