• Resolved salvatore1986

    (@salvatore1986)


    hi!
    I’ve noticed with a keyword density calculator,that the most relevant keywords in my site are “view folder” and “folder icon”,that are generated by eazyest gallery.
    “view folder” is in the tooltip,”folder icon” is the alt tag of the folder icon.I want to disable “folder icon”,and instead of “view folder xxx” I want to let appear just the folder name so only “xxx”.

    is not interesting a site where the most relevant words in a page are “view folder” and “folder icon”,so modifying them will improve the google rankings I think.
    thanks as always

    https://wordpress.org/plugins/eazyest-gallery/

Viewing 1 replies (of 1 total)
  • Translate the relevant strings:
    __( ‘Folder Icon’, ‘eazyest-gallery’ )
    __( ‘View folder “%s”’, ‘eazyest-gallery’ )

    ( quotes are encoded – write without spaces – View folder & # 8 2 2 0 ;%s& # 8 2 2 1 ; –
    see proper string at content-galleryfolder.php#Line18 )

    // To change or translate some string,
    // add this code on your functions.php.
    function change_translate_text( $translated ) {
    	$text = array(
    		'View folder “%s”' => '%s',
    		'Folder Icon' => '',
    		'Old Text 3' => 'New Translation 3',
    	);
    	$translated = str_ireplace(  array_keys($text),  $text,  $translated );
    	return $translated;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
Viewing 1 replies (of 1 total)
  • The topic ‘disable "view folder" and "folder icon" for keyword density’ is closed to new replies.