• Resolved pjohnstone

    (@pjohnstone)


    Hi

    I am using this great plugin, but I have ran into a slight issue. I want to show the widget title in the admin area so the client can see what page is which in the widget editor area, but I don’t want to show it on the front end. I am using this plugin to remove the titles by adding a ‘!’ in front of the title. This works on other plugins, but not on the feature a page plugin. WHat the remove title plugin developers are saying is that its the way the plugin is developed that will allow the title to be removed.

    Can you help at all if I need to edit any of your plugins code to make this happen. This seems to be the bit of code that is needed to make this work:

    $widgetTitle = apply_filters( 'widget_title', $widgetTitle );
    if ( ! $widgetTitle ) {
        $args['before_title'] = '';
        $args['after_title'] = '';
    }

    Thanks!

    https://wordpress.org/plugins/feature-a-page-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mrwweb

    (@mrwweb)

    This will be my last response for a month.

    The Widget Title and Page Title are separate and unique in this plugin, so hiding one doesn’t affect the other.

    First, you can trying removing the title with the fpw_page_title filter:

    add_filter( 'fpw_page_title', '__return_null' );

    If that doesn’t work, you’ll likely want to modify one or more templates to completely remove the title. To do that, see the “Template Overrides” section of the 2.0 documentation.

    Plugin Author mrwweb

    (@mrwweb)

    @pjohnstone, can you please reply and let me know if this helped you with your issue? If I don’t hear back in a week, I’ll make this as resolved.

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

The topic ‘WIdget Title Removal’ is closed to new replies.