• I run https://www.rapnews.co.uk and at the moment have all interview category posts displayed on the main page.

    I use the ‘Showonfrontpage’ plugin to deselect posts of other categories from being shown on this page.

    I would like to add four or five lines of automated post titles/links from the ‘news’ category, onto the top of the post summaries on the main page.

    An example of what I’m aiming to do is what https://www.hiphopgame.co.uk/mainpage.php does with its ‘news headlines’.

    I’ve created a fake screenshot of what I have in mind also, available to view at: https://www.rapnews.co.uk/images/mock.jpg

    Firstly, do you think this would be a good idea? I think it utilizes some content that not every visitor would see.

    Secondly, do you feel this would be an easy ajustment to make?

    Finally, is there anyone around kind enough to help me out with this?!

    Thanks a lot for ya time. Best,

    Tony.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter tonywright

    (@tonywright)

    Is this to hard to do?

    Look for the “recent posts” plugin – it allows you to set the category, the number of headlines, and whether or not you want the “description” or “excerpt” to show.

    Thread Starter tonywright

    (@tonywright)

    Thanks for your help. Do you think I’ll be able to add it to the top of the main page, where there’s already recent posts being displayed? I wonder how I’d insert it beneath my advert image and above the other post titles?

    Best,

    Tee.

    You can put it wherever you want, you add the code to the index.php file after you activate the plugin. You can put it in your sidebar, in your header, in your footer, wherever… but for your case, I’d put it in the index.php right before the content div…

    Thread Starter tonywright

    (@tonywright)

    could you possibly direct me as to where i’d find the plugin? that database site has broken links and google searches haven’t been successful. thanks so much for your time. tee.

    https://dev.wp-plugins.org/browser/recent-posts/branches/

    I’m assuming you’re using 2.0+ so you’d want the one labeled 1.5 (sounds silly, I know, but that just means it works for 1.5 and up, I’m using it on 2 sites running 2.0.3 now and they work fine)

    Thread Starter tonywright

    (@tonywright)

    thanks a lot. i had seen that site but didn’t realise what i was looking at. bad design!

    there doesn’t be anywhere to define what category you want the recent posts of to be displayed…

    Thread Starter tonywright

    (@tonywright)

    It appears that I already have customizable post listings activated…. Can’t find any supporting documents on it however.

    Just click the blue title on the page I’ve linked above and read… ALL!

    Thread Starter tonywright

    (@tonywright)

    Thanks for your patience and help! One last favour, please could you check out https://www.rapnews.co.uk and give me your opinion on what I’ve done. Does the recent posts look okay there? Perhaps in the sidebar instead? Thanks.

    You are welcome ??
    As it was said above – you can use it anywhere, and I don’t think there is THE right place to put it. Decisions like that always depend on the general layout of the site/page, on how the content is organized and presented, what do you want to emphasize etc.
    Where it is now = it’s one of the most valuable spots in a website: the human eyes go there instinctively. It is a very good place if you want me (as a visitor) to focus on it. The bad thing? I see a list but have no idea what they are (no heading/title)…

    It is really up to you, I just tried here to give you some examples how one should think when making the decision.

    Thread Starter tonywright

    (@tonywright)

    Thanks. I like where it is because those posts wouldn’t get seen unless someone gos into the category, and I want maximum use of all my stei’s content. I don’t think I can get a nice formatted title in. I wouldn’t know how to define the font size and style etc. Also, I can’t seem to get a date in a bracket at the end of each post, like on the actual ‘recent posts’ of the categories page.

    Tony – use a simple h3 header and class…

    something like

    <h3.recent>Recent News</h3>
    your code for getting them there

    and then in your css file, try adding this to the very bottom of the file:

    h3.recent {
    color: #ebcaa9;
    }

    (I chose that color because it’s the same color as your bullets, but you can choose whatever color you like)

    Thread Starter tonywright

    (@tonywright)

    for some reason whatever i put after the banner and before the recent posts plugin comes up as a hyper link to the same address as what the banner’s pointing to..

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Adding post titles to main WP page’ is closed to new replies.