How do I remove blog entries from home page Twenty Eleven child theme?

On the most basic level, you could prevent all posts from being displayed by simply ripping the Loop out of the template that is displaying your “landing page.” If you only wish to modify the posts being displayed on your “landing page,” (say for instance should you be using WordPress post object as songs and … Read more

why does blog page ignore template [closed]

Refer to the Template Hierarchy Codex entry. The template hierarchy for the blog posts index is as follows: home.php index.php There is no case where the blog posts index will use a page template, either the default page template or a custom page template. The determination is controlled by wp-includes\template-loader.php. Refer to Line 31: elseif … Read more

Wp-theme Development

Please check how the Loop works, followed by the correct way to instantiate a new Query. Try this: <?php // The correct way to create a new Query $newquery = new WP_Query( array( ‘category_name’ => ‘notice’, ‘posts_per_page’ => 1 )); // Check if query found posts, then start the Loop if($newquery->have_posts) : while ($newquery->have_posts() ) … Read more

How to add a widget area between blog posts in Genesis Framework?

This thread – http://wordpress.org/support/topic/how-to-put-adsense-after-first-topic – explains how to add something after the first post so I would assume you could change the 1 to a 3 to have it display after the third? And this page explains how to add a widgetized area: http://quirm.net/2011/09/15/widgetizing-any-page/ So you would put the php for the dynamic sidebar where … Read more

How do i Sort my Posts

You can order your posts by several strings that are available in WP. The normal way is by alphabetizing or via a plugin. You have the option between order by name or date. But if you want to order your posts by custom tags eg. “most popular”, “relevance”,… Then you could custom code that in … Read more

The page that displays Posts on homepage

The way you are thinking wordpress is, is not like that. You can’t find the query and alter it like you do in plain PHP. There are filters and actions and a whole architecture to play with pages and posts. I suggest you to read wordpress documentation and Codex. If you are a programmer then … Read more