One set of categories for multiple custom posts

The only thing you have to do is, instead of using different taxonomies per post type, use one shared/common between them. You’re setting up the post type to taxonomy relation either via the taxonomies parameter of register_post_type() or per usage of register_taxonomy_for_object_type, just change this, after reading the documentation, according to your needs.

how to add limit records in wordpress query

What you want to do, can be achieved by means of the WP_Query class. $query = new WP_Query(array( ‘post_type’ => ‘quote2’, ‘posts_per_page’ => 10, // or something else )); Now you can work with $query like: if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post; ?> <h1><?php the_title(); </h1> <?php the_content(); <?php } else { // No … Read more

A refreshless WordPress website

First there is bit of a snag in your terminology – “responsive” nowadays primarily refers to sites that adapt to screen sizes and is mostly unrelated to dynamically loaded content. WordPress is not natively engineered for Ajax themes. It is of course possible and people do create such, but as percentage of overall theme building … Read more

Simple Redirect but getting the right code?

Change line 1323 of your screenshot with the following: <li><a href=”https://wordpress.stackexchange.com/questions/127615/<?php echo bbp_get_user_profile_url( get_current_user_id() );?>”>Your Profile</a></li> You can change “Your Profile” with different text if you like.

Sessions in word press [duplicate]

Note, Session must start before header is sent. So you should try – <?php if( !session_id() ){ if( headers_sent() ){ die(‘headers already sent, cant start session’); } else{ session_start(); } } // check existence, or not below 1 if( !isset($_SESSION[‘impression’]) || $_SESSION[‘impression’] < 1 ){ $_SESSION[‘impression’] = 100; } // decrease the value by one … Read more

Can’t install vEstate Real Estate WP Themes

WordPress themes are packaged in a .zip file format (not .rar). Theme Forest packages their items a little differently. You likely need to decompress the .rar file (double-click on it). Inside will probably be another file called, vestate.zip. Try to upload that instead. Also, in the future, support for this product should be handled via … Read more