• Not sure why my thread was closed… but ok…

    Maybe my definition of the words, “post” and “page” aren’t in tune with how WordPress defines it. You’ll have to look past that because I use common website terms in the way they’re used.

    Basically I want a “page” as in I go to https://www.mywebsite.com/thispage

    … and on that page, have it display specific posts that fall under a specific category. For example if I do reviews of products and have the following link:

    https://www.mywebsite.com/reviews

    I want the link to be in the main menu (at the top) as “Reviews” and when the person clicks on it, it opens up the page and displays all posts that I have made under the category “Reviews”.

    If I create the category and then add it via Appearance -> Menu I get a link like this:

    https://www.mywebsite.com/category/reviews/

    I don’t want that.

    I tried using the query_args custom field per a YouTube video which displays nothing. I made sure I put in the correct ID for the category and it wont show up contrary to his video (guessing something changed with WordPress since then).

    How is this accomplished now?

Viewing 4 replies - 1 through 4 (of 4 total)
  • i managed to create a page that shows thumbnails with title from the same category but not a posts list… ?? this seems like a trivial thing yet i found no answer so fur

    Thread Starter Primus Palus

    (@primus-palus)

    Here’s an example:

    https://dualpixels.com/

    If I click on PC, it shows the PC articles:

    https://dualpixels.com/pc/

    This video shows exactly what I want to do:

    But it just doesn’t work like that for me for some reason.

    Ok, so this is what i did in the clearest way i could write it. It worked for me… (and in case it changes something – i have Genesis installed) Anyway i hope it helps.
    1. Create a new page
    2. Under template change to Blog
    3. If you do not have a ‘custom fields’ block visible, then go up on the screen to your right Under ‘screen options’ check the ‘custom fields’
    4. Then scroll down to the ‘custom Fields’ click on “Enter new” (which is a little blue text link above the “add a New custom field” option) Under Name write ‘ Query_args ’ and under Value add the value of your desired category (which you can find by going to the categories page and putting your mouse over the category. When doing so you will see on the lower left of the screen a line of code, look for this part – ‘ Category&tag_ID*&” You need the symbol replacing the *- once you created it you will see the option for ‘Query_args’ now appears in the drop down to the left so no need to ‘enter new’ anymore, you can go right ahead and ‘add a New custom field’)
    5. Now add them via menus to whichever menu you want.
    6. In order to add an image and control the length of the text go to your ‘Theme Setting’ under ‘Content Archive’ you will find the a drop down, choosing the 1st option of ‘Display Post Content’ will allow you to limit the number of characters on each post. Choosing the 2nd option ‘Display Post excerpts will allow you display the featured images. You should also check the box for’ Include the Featured Image?’ and set the display size and Navigation Technique

    I take it back ??
    It is not working ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Get Posts on a Specific Page’ is closed to new replies.