Unexplained line of text appearing on page

2 posts in this topic



I have Framework 2.1.6 and WP 3.9.2

Here is the page in question http://creativejuiceartbar.com/adult-calendar/


There is a line of text appearing on my page that reads "My category content" it's directly above a list of events which is compiled by a plugin called Event Espresso. When I firebug this page there is no way i can hide this with css. The plugin developer doesn't recognize the text and suggested that I drop the following code in my theme's functions.php file. Does that sound right to you? Is there somewhere else I should be putting this code? Also by looking with Firebug the text "My category content" does appear to fall under the plugin's div. So I'm a bit confused.

Thanks for any help.

function ee_replace_my_category_content_messaging( $translated, $original, $domain ) {
    $strings = array(
        'My category content' => '',
    if ( isset( $strings[$original] ) ) {
        $translations = get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    return $translated;
add_filter( 'gettext', 'ee_replace_my_category_content_messaging', 10, 3 );

Share this post

Link to post
Share on other sites

HI nudolio

I see, but this is not a PageLines problem.

You need to insist with the plugin developer to get rid the text.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now