Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1179
    GB3
    Participant

    How do you change which page template the News Manager uses within WordPress?

    #1181
    GB3
    Participant

    Here is an update to my original question.

    I would like to show the News Manager content on a Page Template other than single.php, which seems to be the default.

    AND

    On that page I would like to present al list of all the News entries similar to blog posts. Do you have a widget or shortcode for displaying x number of News posts?

    Something similar to this but for News Manager posts:

    
    	$get_posts = get_posts(array('numberposts' => -1));
               foreach($get_posts as $sidebar_post) {
    	   echo "<li><a>ID) .'">". $sidebar_post->post_title ."</a></li>";
    	}
    
    #1182
    Bartosz
    Keymaster

    News is a custom post type ‘news’. Knowing that you can use any WordPress functions and query, for example get_posts() http://codex.wordpress.org/Template_Tags/get_posts. If you want to modify the template for news just study this from WordPress codex http://codex.wordpress.org/Template_Hierarchy – it is all adequate to news too.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.