I can’t add more pages to menu – menu delete pages

Most likely explanation is that you’ve hit a PHP limit here – namely max_input_vars. A more thorough explanation can be found here. The solution is not inside WordPress I’m afraid, you’re gonna have to venture into your site’s PHP settings. Or, of course, reorganize your menus into something more manageable.

WordPress Search

Your search form includes this: <input type=”hidden” name=”post_type” value=”postpage” /> So when your search page loads, the query variable ‘post_type’ is set to load posts of type ‘postpage’. Since posts are of type ‘post’ and pages are of type ‘page’, neither of which are ‘postpage’, you do not get what you expected. Next time, don’t … Read more

Are post, page and category IDs unique to each other?

There are multiple types of data objects: posts: pages, regular posts, nav menu items, attachments and custom post types terms for different taxonomies: categories, tags, nav menus comments links options various meta data Term ids are for a different type of objects than post ids. Both are primary keys for different tables. From Potential roadmap … Read more

Set a variable to using in redirected page

I think wp_login is executing before functions.php is actually opened, thus not setting the global variable. One possible solution to this is instead append to the URL: function open_menu($user_login) { wp_redirect(home_url().’?menu_open=true’); exit; } add_action(‘wp_login’, ‘open_menu’); Then you could get that value via if(isset($_GET[‘menu_open’]) && $_GET[‘menu_open’])

Display on page every post in blog WITH comments

Short answer: Add comments_template(); under your the_content(). But there’s a better way to do this that will carry over any formatting and style you have on your main blog. Maybe you don’t want this, though, so ignore the rest if needed. Here’s the improved loop code: $args = array( ‘numberposts’ => -1); $query = new … Read more