Selecting category post for specific page

Home Forums Support Selecting category post for specific page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #86085
    Francois Charpentier

    Hello,

    I like very much the design and the speed of GeneratePress but I miss a function I had in my previous theme :

    When I created a new page, I could select the category of posts I would show on this page.
    For instance, I checked “mountain” and “winter”, and only the posts with these category were displayed on this page.

    Could you please add this very useful function in a next release ?

    I know I could create a category menu in WordPress, but it adds a directory in the url : /category/, or, at best : /cat/ and I don’t want that.

    For the moment, I use a plugin ” List category posts ” to achieve my goal, but the result is ugly as I lost your layout.

    Could you give me a code to select a category post for a specific page, and get rid of this plugin ?

    Thank you for your help.

    Regards,

    Francois

    #86348
    Tom
    Lead Developer
    Lead Developer

    Hi Francois,

    I probably won’t be adding such a thing to GeneratePress, but I do plan on releasing a free plugin that allows you to display posts with a shortcode as soon as I get some free time.

    For now, you can remove /category/ from the URL: https://wordpress.org/plugins/remove-category-url/

    Hope this helps 🙂

    #87064
    Francois Charpentier

    Hi Tom,

    Thank you for your help.

    The plugin remove-category-url resolved my problem, thanks a lot !

    I just don’t know if, on the SEO side, it’s better or not to have a Category instead of a Page. I’ll Google it 😉

    Just a last detail : at the top of each Category page, the name of the selected category is showed. Is it a way to hide it ?
    I use Simple Custom CSS, maybe there is a code for that…

    About the free plugin to display posts with a shortcode : excellent !
    That way, the code will be totally in phase and well updated with the theme.

    Regards,

    Francois

    #87112
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This CSS will hide the title of the category – although it’s a good thing to keep for SEO reasons:

    .category .page-header {
          display: none;
    }
    #87271
    Francois Charpentier

    Hi,

    Thank you for your help !

    Regards,

    Francois

    #87452
    Tom
    Lead Developer
    Lead Developer
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.