• Resolved jayapramod

    (@jayapramod)


    Hi, How to show the latest post in front?
    I am using
    bbp style pack Version 4.5.7
    bbPress Version 2.6.5.
    or is there any short-code for ‘posts’?

    • This topic was modified 4 years, 8 months ago by jayapramod.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Robin W

    (@robin-w)

    8sorry, you will need to post more than this – I have no idea what ‘front’ means.

    Thread Starter jayapramod

    (@jayapramod)

    Hi,
    Right now, my ‘Discussions’ WordPress page showing:

    Home > Forums > Topics

    Topic Voices Posts Last Post

    I used Shortcode ‘[bbp-topic-index]‘ on this page.

    Here I wish to show the recent posts, which are posted in any forum/topic. Is it possible?

    Plugin Author Robin W

    (@robin-w)

    yes, you can use the latest activity widget in a sidebar, but it will, be your theme that determines whether you have a sidebar.

    Thread Starter jayapramod

    (@jayapramod)

    Hi,

    Thank you very much for your valuable guidance and quick support. I am working on this. It’s a very nice plugin. Very useful.

    Plugin Author Robin W

    (@robin-w)

    great – thanks for the nice feedback !

    Thread Starter jayapramod

    (@jayapramod)

    Hi @robin-w,

    One more doubt. Need to display the ‘topic description’ (which we are giving while creating a topic) on ‘the topic list view’. Also if there are more than three lines need to add a ‘Read more’ at the end.

    While googling, I found that some years back you have given support for this:

    https://bbpress.org/forums/topic/how-to-create-a-topic-description-under-topic-in-forum-list/

    Or else where should I put this code?:

    function rk_topic_description() {
    	    	echo bbp_topic_excerpt();
    }
    
    add_action('bbp_theme_after_topic_title','rk_topic_description');

    Pls help, I am not that much familiar in coding.

    Plugin Author Robin W

    (@robin-w)

    Put this in your child theme’s function file – or perhaps much better use
    https://en-gb.www.ads-software.com/plugins/code-snippets/

    which does all the hard work for you !

    Thread Starter jayapramod

    (@jayapramod)

    Hi, it was a nice solution thanks. But the description is displaying along with the title. How to break this into a new line?

    eg:

    Viewing 6 topics – 1 through 6 (of 6 total)

    Topic Voices Posts Last Post

    Online learning Online learning is education that takes place over the Internet. It is often referred to as “e-lear…

    Started by: admin in: Online learning

    Plugin Author Robin W

    (@robin-w)

    you could try

    echo '<p>'.bbp_topic_excerpt();

    or

    echo '<br>'.bbp_topic_excerpt();

    in the code above

    Thread Starter jayapramod

    (@jayapramod)

    Hi, it’s not affecting in the output, it’s showing like as:

    <ul id=”bbp-topic-1346″ class=”loop-item-0 user-id-1 bbp-parent-forum-0 odd post-1346 topic type-topic status-publish hentry”>
    <li class=”bbp-topic-title”>
    Online learning Online learning is education that takes place over the Internet. It is often referred to as “e-lear… <p></p>
    <p class=”bbp-topic-meta”>

    Applied echo '<br>'.bbp_topic_excerpt(); also not breaking the line.

    • This reply was modified 4 years, 8 months ago by jayapramod.
    Plugin Author Robin W

    (@robin-w)

    thanks.

    sorry beyond free help to fix.

    If you’d like me to help further, contact me via

    https://www.rewweb.co.uk/contact-me/

    • This reply was modified 4 years, 8 months ago by Robin W.
    Thread Starter jayapramod

    (@jayapramod)

    Ok, sure… Thank you very much for your kind help and guidance.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Show latest post’ is closed to new replies.