Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hover or other topic preview?


  • goclones
    Participant

    @goclones

    I’ve searched for hours trying to find a plugin or edit that would allow a user to preview topic text by mousing over the topic title or even having the first line or two of the topic text show up in the topic list but can’t find anything. Help?

Viewing 16 replies - 1 through 16 (of 16 total)

  • Robkk
    Moderator

    @robkk

    only thing i can think of is changing this

    <?php do_action( 'bbp_theme_before_topic_title' ); ?>
    
    		<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a>
    
    		<?php do_action( 'bbp_theme_after_topic_title' ); ?>

    to this

    <?php do_action( 'bbp_theme_before_topic_title' ); ?>
    
    		<a class="bbp-topic-permalink" title="<?php bbp_topic_excerpt?>" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a>
    
    		<?php do_action( 'bbp_theme_after_topic_title' ); ?>

    goclones
    Participant

    @goclones

    Robkk, can you tell me which file this code is in?


    Robkk
    Moderator

    @robkk

    oh i forgot , it should be in loop-single-topic.php

    copy that into a child theme and put it in a folder called bbpress


    goclones
    Participant

    @goclones

    Thanks. I replace the code with what you suggested and I don’t see any changes. Although the file is in the bbpress > templates > defauly > bbpress folder. Is that where it should be?


    Robkk
    Moderator

    @robkk

    copy the original file from the plugin and copy it to your child theme.

    the file should be like this in your child theme

    wp-content > themes > (your child theme name) > bbpress


    goclones
    Participant

    @goclones

    OK, I made a folder named bbpress in wp-content > my selected theme folder and copied the file there. Still nothing changed. Am I not understanding the child theme concept? Sorry, I’m a beginner. Thanks


    Robkk
    Moderator

    @robkk

    you did hover over the topic title right??


    goclones
    Participant

    @goclones

    Yes I did.


    Robkk
    Moderator

    @robkk

    @goclones

    do you have any cache plugins running?? maybe clear the cache??


    goclones
    Participant

    @goclones

    Yes, but I’ve emptied all caches and still no go.


    Robkk
    Moderator

    @robkk

    hmm i tested this in twentyfourteen and it seemed to work just fine.

    what theme are you currently using??

    if its a free theme i could probably test it out real quick to see if it works.


    goclones
    Participant

    @goclones

    I am using the Vantage theme (it is free).

    I do have a plugin running called Page Builder for my home page (in case that might be an issue).


    Robkk
    Moderator

    @robkk

    alright i will test it out in a minute.


    Robkk
    Moderator

    @robkk

    @goclones

    i dont know why its not working??

    most of the links you hover over with the vantage theme in the bbPress forums the title attributes dont show , like hovering over the title of the topic should show the topic title , but it doesnt.

    Dont know what to tell you.


    goclones
    Participant

    @goclones

    Thank you for checking into it.

    I’ll keep trying.


    cirrus123
    Participant

    @cirrus123

    Perhaps it’s because <?php bbp_topic_excerpt?> needs to be closed as a function.

    <?php bbp_topic_excerpt(); ?>

Viewing 16 replies - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.
Skip to toolbar