Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    If you’re looking to include links within the subheading value, this is now possible in version 0.2.4.

    Prior to this version all HTML tags were stripped from the subheading, but it is now possible to insert the following as the subheading value (for example):

    This is a subheading with a <a href="#">link</a>.

    Hope this helps?

    Thread Starter blazeblaze

    (@blazeblaze)

    Yes, installing new version helped 😀 We were using the still good but old 2.2.

    Unfortunatelly, now we are having next two issues:

    1. Something bad happened to encoding. Formely, it was UTF-8 I believe and dispayed Polish characters correctly like Pobierz grę. Now it’s a mess.

    2. For game ratings we are using gdstar plugin (http://www.gdstarrating.com/) and as you can see on the very bottom of the post there are stars which are diplayed by puttinga short code of [starreview tpl=16] . Is it possible to make it work in the subheading also? That is an ultimate feature we would like to introduce to our website.

    EXAMPLE POST: http://gry-rekreacyjne.pl/recenzje/zrecznosciowe/a-ball-recenzja/

    3. Bonus: if you ever will want to localize this plugin to Polish, drop me a line!

    Pozdrowienia! 🙂

    Ok here goes 🙂

    1. I think the character encoding problem has been fixed (as of 0.3.1).

    2. If you intend to use shortcodes within the the subheading content, I suggest you update the output method you are currently using and replace it with something along the lines of:

    <?php if (function_exists('the_subheading')) { echo do_shortcode(get_the_subheading(false, '<p>', '</p>', false)); } ?>

    This will apply any shortcode filters to the subheading value you have set.

    3. Cool, I’ll give you a shout when the plugin is in a state to be localised – thanks 🙂

    Hope this is of more help to you than before 🙂

    (Sorry, forgot to mention that I had to fix a couple of other issues to get point 2 above working correctly, so this should work fine with version 0.3.2.)

    Now I think about it, an alternative / shorter method of what I’d written in point 2 could be used instead:

    <?php if (function_exists('the_subheading')) { echo do_shortcode(the_subheading('<p>', '</p>', false)); } ?>

    Thread Starter blazeblaze

    (@blazeblaze)

    Ad1. The issue is resolved 🙂 Char’s are displayed as they should be.

    Ad2. It still doesn’t work. I’ve tried many different functions and short codes to put after the echo. One of them even made displaying whole single.php impossible 😉

    Do you have any other ideas?

    Ad. 3. You’re welcome 🙂 This translation will be pro!

    Cheers! 🙂

    Hi,

    I installed GD Star Rating 1.7.5 to my local development version of WordPress 2.8.6 and included the snippet mentioned above into single.php.

    It seemed to work OK (the shortcodes were replaced and the star rating images included). The only issue I had was that the rating uses a DIV to contain the images and therefore broke the surrounding text onto multiple lines.

    I’m not sure what else to suggest to you now 🙁

    Thread Starter blazeblaze

    (@blazeblaze)

    Thanks for the efforts! So something might be bad with our theme, because the subheading actually displays just the exact shortcode, not the stars.

    Thanks again. Still let me know when you will want to localize the plugin 🙂

    I think we may close this topic, as there is currently nothing I can do about the last problem, whereas subheading plugin works as it should be 🙂

    Cheers & GL! 🙂
    Tom

    No problem – sorry we couldn’t find an actual solution for you.

    I’ll definitely give you a shout when it comes to localising it, and possibly my other plugin/s 🙂

    Feel free to close this topic, and best of luck to you with everything!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: SubHeading] How to display other plugins code within?’ is closed to new replies.