• miquelpontes

    (@miquelpontesgmailcom)


    Hello,

    For historical reasons we’re using a combination of posts and pages to display contents in WordPress. I used the “Post Tags and Categories for Pages” plugin to be able to add categories and tags to pages so we can make non-hierarchical classification of pages, which was already granted with posts, and now I need to show a list with all the pages (and/or posts) within a given category.

    I tried the plugin “List Category Posts” to obtain this list and it worked more or less, the result was sorted by date only (using several documented sorting parameters did not work) and with certain mobile themes displayed only 10 results instead of the real full list I need, and no pagination. Unsatisfactory. So I turned my attention to Autonav, which I also use for other purposes (graphical menus of daughter pages of a given page).

    Now I want to obtain the PAGES in a category with the shortcode [autonav display=”posts,nothumb,title,list” postid=”category:*”] and it lists me the POSTS with the same category of the calling page, but not the PAGES that share that very same category.

    Is there a way to list PAGES BY CATEGORY with Autonav, kind of [autonav display=”pages,nothumb,title,list” postid=”category:*”]? I am already aware this is an unorthodox way of using WordPress.

    By the way, I do use Autonav to display “featured picture” menus of daughter pages with the shortcode [autonav display=”images”] and it works like charm. For that purpose it’s unbeatable. Thank you !

    https://wordpress.org/plugins/autonav/

  • The topic ‘Is it possible to list all PAGES within a category ?’ is closed to new replies.