Support » Plugin: Standout Color Boxes and Buttons » How to use with the More-quicktag?

  • Resolved jester6581



    Great plugin. Was looking for something like this a long time.

    One question and I hope i am the right place to ask.
    How can I use the buttons in the more tag. So,when <!–more–> (i think that is the code) is inserted in the html editor the final result on the blog page would give a button with the text Read on, or whatever I want it to be.

    THanks for the help,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Solved this one, but partially: now the twentyten_auto_excerpt_more( $more ) functions shows the code for the standout button. I see the (…) and then the text [color-button color=”bkgreen” href=””]Lees verder[/color-button] on the search results page. The code is working with the manual inserted <!–more–> tags though.
    Any ideas?

    It seems that the plugin is not used in the auto_excerpt or search

    Using wordpress 3.8.1

    Just found out: the plugin files don’t get referenced in the wp_footer() call when used on a search page. So, missing the two lines with <link id=sccb …>

    Okay, found a workaround for it…
    Using twentyten theme and my theme as a child theme

    In my theme css I added the referenced classes .sccb-button-… (four entries)
    In my theme functions.php I already had a customized read_more function which is referenced in loop.php from the_content() through a parameter and from the auto_excerpt_function in the twentyten theme.

    My customized read_more function checks if is_archive or is_search is true and then the returned code is a bit different. This way I have the result I want with a bit less flexibility. I can use this until this plugin works with the auto_excerpt function from the twenty_ten theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use with the More-quicktag?’ is closed to new replies.