Support » Plugin: Posts in Sidebar » Display only recent post and change title font

  • Resolved Marinda333

    (@marinda333)


    Thank you for a fantastic plug-in.
    I am not a pro when it comes to coding, so please have patience if I’m asking dumb questions. 🙂

    I am publishing one post per day, and would like for that post to be displayed in the sidebar. Is there a way that I can only display the recent post (only one post showing).

    Then, I have read through the support on changing font colour etc. but are not sure if the code that you have provided are inserted at the bottom of the plugin (in the CSS area) or on my template CSS? I am wanting to change the title to bold.

    Thank you very much for your help.

    http://wordpress.org/plugins/posts-in-sidebar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author aldolat

    (@aldolat)

    Hello,

    1. Sure you can display only the latest post. To do this, you can use the plugin “Posts in Sidebar”, but also you can use the widget “Recent Posts” which comes bundled with WordPress.

    2. To make bold the title (or something else) you can use either the CSS section of the widget or the CSS file of your current theme.

    If you need further help, ask me.

    Hi, thank you for your reply. I’ve checked out Recent Posts, but I like all the options that I get with the “Posts in Sidebar” plugin. Please can you tell me what settings I need to change to only show the recent post. I have tried ‘Order by Date” and then changed to to “Accending’, but it doesn’t seem to only give me the recent post?

    Plugin Author aldolat

    (@aldolat)

    Delete the current “Posts in Sidebar” widget and place a new instance. The widget will show the last posts, from the newer to the older. Change only the option “Display this number of posts” to 1 and you are done.

    Let me know.

    Great! It’s starting to look the way I want. It is displaying the most recent post, and I have checked the Full Content option http://www.crossfitkwagga.co.za/.
    All that I now want to change is:
    1. the line-spacing (to be the same as first paragraph under 1. Snatch Complex)
    2. have all the text align to the left
    3. Make the heading bold

    How do I do that?
    When you say the CSS section of the widget, is that the ‘Custom Styles’ area???

    Thank you very much for your help! I really appreciate it!

    Plugin Author aldolat

    (@aldolat)

    Here are my suggestions.

    1. Line spacing.

    #sidebar .pis-ul div {
    	margin: 0;
    	padding: 0;
    }

    2. Text alignment

    The text is already aligned to left.

    3. Bold for heading

    #sidebar .pis-title {
    	font-weight: bold;
    }

    You can put these CSS rules either in your style.css file or in the “Custom styles” area of the widget.

    Let me know.

    Thank you Aldolat that is perfect!!! Thank you for great support with this plugin!

    Plugin Author aldolat

    (@aldolat)

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display only recent post and change title font’ is closed to new replies.