Using presentation page with custom content type

  • Author
    Posts
  • #45695

    I’m using Nirvana, and have used the PODS plugin to create a custom content type (“review”). I’d like to use the presentation page boxes to display the most recent content in my custom type (i.e., latest reviews). Is there a way I can point the boxes to my type, rather than to a category or tag?

    Website: reviews.metaphorosis.com

    #45939
    Zed
    Cryout Creations mastermind

    To do this you’ll need to customize the queries grabbing content and generating the presentation page areas.

    These queries are located in the frontpage.php file (which you can copy directly to the child theme to customize).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #45971

    Thanks. I’ve got a child theme in place, but I’m a bit puzzled as to piece of the code in frontpage.php specifies the post type for the query.

    #48547

    That should read “I’m a bit puzzled as to which piece of the code in frontpage.php specifies the post type for the query.”

    #48812
    Zed
    Cryout Creations mastermind

    Customize the appropriate
    $custom_query2->query('showposts='.$nirvana_columnNumber.'&[...]
    line (depending on the theme option you are using for the columns source) to add the necessary query parameters to retrieve your custom post type.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #49113

    Thanks. That should be enough to point me in the right direction.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Using presentation page with custom content type’ is closed to new replies.