Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4697

    Greg Dixon
    Participant

    Hello, can you tell me where the documentation is please? I’m having difficulty understanding how to use this plug in. How do I display the news items on a page?

    #4698

    Greg Dixon
    Participant

    Ah ok, I figured out it’s in the plugin’s Setting section under ‘Permalinks’. By default it is ‘<site url>/news’. Ok that’s great!

    The title is ‘Blog Archives’ … how do I change that title please?

    #4699

    Bartosz
    Keymaster

    We tried to make it as simple as possible in terms of templating so…

    News uses archive.php of your theme, unless you create a separate archive-news.php file. “Blog Archives” must be located somewhere in the header of your archive.php file. Just change that.

    #4700

    Greg Dixon
    Participant

    Ok, I think I’ve fixed this by changing it in the Archive.php of my theme

    #4701

    Greg Dixon
    Participant

    Thanks Bartosz. Ok so in summary (for other folks potentially struggling with the same issue)

    1. After you install the plug in, you can display the news items by going to the ‘/news’ page of your site (the plugin uses the Blog Archive capability of WordPress)
    2. To add this page to your menu, Select the ‘Links’ page and add the url ‘/news’ (unless you changed in in the plugin’s Settings/Permalinks area) and the menu title. Click ‘Add to menu’ and move it to where you want it in your site nav hierarchy.
    3. Change the title of the ‘archive.php’ (you should copy this to a child theme)

    #5835

    paskuale
    Participant

    Hi, I make a page-template for news, put code in it for show get_post(‘type=news’) all ok, but after click on sigle news don’t appear the news details, pls help me, thanks ;)

    #5840

    Bartosz
    Keymaster

    Hi @paskuale,

    Did you setup permalinks in news settings?
    If so how does it look like?

    #18354

    Thank for the post, it helped me with the same problem !

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