• Resolved paulh88

    (@paulh88)


    Is it possible to add links, text formatting, hard line breaks etc to the Show Description ie the main wordpress post field for each show and show overrides ?

    Html does not seem to have any effect. Is there a way to do this ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Tony Zeoli

    (@tonyzeoli)

    No, you can add a hyperlink, an image, o bold tag, or italics. I just did it myself on the demo site to make sure. You must have another plugin preventing you from using the WordPress post editor correctly. I would check into that first. Turn off all your plugins (except for Radio Station, of course), and change the theme to a standard WordPress theme to test and see if you can narrow down the issue on your side.

    Thread Starter paulh88

    (@paulh88)

    Will get to it. Thank you Tony.

    Thread Starter paulh88

    (@paulh88)

    Ok – so html works on each individual show page.

    However, when displaying the schedule using the tabs view eg

    [master-schedule view=”tabs” show_image=”1″ show_link=”0″ show_avatar=”0″ display_day=”long” display_date=”1″ show_desc=”1″]

    … no formatting or links etc are shown in the show description, it is plain text all the way. Show description for Schedule Overrides also displays in plain text when featured in the tabs schedule.

    • This reply was modified 3 years, 2 months ago by paulh88.
    • This reply was modified 3 years, 2 months ago by paulh88.
    • This reply was modified 3 years, 2 months ago by paulh88.
    Plugin Author Tony Zeoli

    (@tonyzeoli)

    Can you show me an example of this on your site? I’m testing the shortcode on a page in my test site and while the Show Description is set to show-desc=”1″ from the shortcode you posted, I’m not seeing the description display at all in the Tab view here: https://demo.radiostation.pro/test-page-for-show-description-with-shortcode-in-tabbed-view/ Specifically, Hot DJ Mix. You can see that no Show Description displays for any Show entry on all tabs.

    Plugin Contributor Tony Hayes

    (@majick)

    @paulh88 The show description excerpt is displayed when you add show_desc="1" to the master schedule shortcode. By default this is auto-generated using WordPress excerpt generation functions from the full show description. This intentionally strips HTML to give just a plain text display.

    However, it is easy to overcome this. If there is an explicit post excerpt set on the Show page, that will be used instead. It supports HTML and that will display instead of the auto-generated excerpt. You will however need to keep it updated manually as it will no longer be tied to the main Show description.

    There is also a radio_station_schedule_show_excerpt filter in /includes/master-schedule-tabs.php should you wish to have further control over the excerpt contents programmatically (this could be possibly be used to auto-generate an excerpt that includes HTML, but that would be a very tricky thing to achieve, because if you just truncate the content, you will break the HTML content.)

    Note: Sometimes the Excerpt metabox on the Edit page gets hidden in WordPress, if that is the case you can toggle it’s display via the “Screen Options” dropdown in the very top right of the page.

    Thread Starter paulh88

    (@paulh88)

    Tony & majick

    Many thx for that solution magick. The excerpt box handles the basic html I need.

    One last query. Using the excerpt I see that at the end of the show description there is a link back to the main show page ie […]

    Is there a way to remove this ? All the show info we need is in the excerpt so the show page adds nothing new. Removing the link makes it neat and concise.

    The schedule override function btw is very useful. Thx for an excellent plugin.

    Plugin Author Tony Zeoli

    (@tonyzeoli)

    @paulh88 I would think you can just hide the link with CSS, no?

    I don’t know that we have a filter to hide that link, but @majick can better answer that question.

    Also, if you haven’t left a review yet, we’d appreciate you doing so.

    Please watch out next week for a major promotion on Radio Station PRO. If you’re not subscribed to our email list, then do so now at https://radiostation.pro so uyou’ll be included in the email blast.

    Thread Starter paulh88

    (@paulh88)

    @tonyzeoli Yes, css should do it I guess but I am sorely lacking in that area so if @majick can provide the info that would be a great help.

    I’m on the mailing list and will get round to a review shortly.

    Plugin Author Tony Zeoli

    (@tonyzeoli)

    We’ve been immersed in launching PRO and this fell off the radar for a bit. Is it still something you need help with?

    @majick I don’t know if we covered this last request. Can you assist?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Html in Show Description’ is closed to new replies.