Support » Plugin: Radio Station » “Hosted by” and “Produced by” link to shows?

  • Resolved chodenjiho


    i have a little issu with my show pages.

    it is possible to adapt “Hosted by” and “Produced by” link so that it refers to the shows that he hosts or producers createt?

    becase, at the wordpress blog i host, there are no contributions so that this link refers to a 404 not found page.

    if the first option is not aviable, is it aviable to not refer to somwhere jsut show the name of producer or host without a link to the author?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor majick


    Yes, you can use the filters radio_station_host_url and radio_station_producer_url to change the URL that is linked to. eg.

    add_filter( 'radio_station_host_url', 'custom_host_url' );
    function custom_host_url( $url ) {
      if ( is_singular( RADIO_STATION_SHOW_SLUG) ) {
        global $post;
        $url = get_permalink( $post->ID );
      return $url;

    Returning an empty value to these filters will remove the link and just display the host/producer as text. eg.
    add_filter( 'radio_station_host_url', '__return_empty_string' );

    • This reply was modified 5 months, 1 week ago by majick.

    thank you so far. nice that this is possible đŸ™‚

    where do i need to add this code?

    Plugin Author Tony Zeoli


    Like all WordPress, you should add any additional CSS or PHP to their respective files in the “child theme” of your theme that you are using. Some themes provide a “child theme” download, which you install and switch over to. It will keep all of your current settings, but if you need to add additional CSS, you can add a new style.css file to your child theme and it will merge the core style.css with the child theme style.css and make sense of any override. For PHP, you add it to your functions.php file in your child theme. Do not add it to the core theme’s functions.php file, as it will get overwritten in a future update.

    It is upon all WordPress users that are developing websites to understand what a child theme is and how to use it. We suggest you take it upon yourself to either learn about child theming or hire a developer to help you.

    We are available for development assistance. Please contact us directly if you need further assistance in implementing this code for you at our standard hourly rate.

    you are right i always forget about the child theme settings, great thanks to bring me on that way!

    have a nice day and thanks for all your support.

    Plugin Author Tony Zeoli


    Glad to help where we can. Good luck.

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