Code Monkey home page Code Monkey logo

so-clean-up-wp-seo's People

Contributors

afragen avatar andreiglingeanu avatar artifex404 avatar log1x avatar ronnymn avatar senlin avatar workeffortwaste avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

so-clean-up-wp-seo's Issues

Yoast admin bar icon exists in Network Admin

I know there's now a setting inside Yoast to remove the Yoast icon from the admin bar. However, this is only accessible from an individual sites Yoast settings and not from the Yoast network settings.

Can we bring back the setting for removing this so it works for the Network Admin too?

Error loading scripts

OK, so there seems to be something pretty weird going on. I don't know if it's a conflict with another plugin or just an issue with this one.

I'm getting the error because when SO Clean UP WP SEO is active, something is trying to load scripts that don't exist?

here an example of the error
http://cjhs2.dev/wp-includes/js/tinymce/plugins/codepress-admin-columns/codepress-admin-columns.php/plugin.min.js?wp-mce-4109-20150505

This error is happening for every active plugin on the site. It seems to be only happening on the 1.6 version. I have another site with this plugin with version 1.5 and there are no errors.

Yoast SEO/Google XML Sitemaps nag

Hi. I'm hoping you could add support in your plugin for the Yoast SEO conflict nag for Google XML Sitemaps plugin. This one is annoyingly pervasive. It appears on every page in the back end for ALL user levels even after being dismissed. It's very confusing to my contributors because they don't understand what it means and can't access plugins. A plea to Yoast has been ignored because I am not a paying customer (I use the free version of Yoast SEO).

yoast

At this point, the nag has annoyed me to the point where I would never use Yoast's version of an XML sitemap even if it was better. For now, I have hidden the warning message by adding the following to my current theme's functions.php file but this is just a temporary fix and I don't feel like I should have to put a child theme in place just for this.

add_action('admin_head', 'disable_yoast_notice');

function disable_yoast_notice() {
  echo '<style>
    #wpseo-dismiss-plugin-conflict {
     display: none;
    }
  </style>';
}

Thanks for your help. :)
April

More info:
https://wordpress.org/support/topic/warning-the-google-xml-sitemaps-plugins-warning-not-resolved
https://wordpress.org/support/topic/garbage-error-message
https://wordpress.org/support/topic/problem-with-google-xml-sitemap-plugin-2
https://wordpress.org/support/topic/xmlsitemaps-warning
Yoast/wordpress-seo#2329 (fix requested almost 5 months ago)

Where is the hide expired / invalid license nag?

Cpt. Obvious is sure to say something like "Just buy a license bro". Though, other's could be wondering... How do I remove the expired / invalid license nag?

insane amount of notification nags

I recommend adding an option to remove expired / invalid license nag. You can cut (or delete) a small snippet of code from local file:

\wordpress-seo-premium\vendor\yoast\license-manager\class-license-manager.php

before uploading it to remote location:

/public_html/wp-content/plugins/wordpress-seo-premium/vendor/yoast/license-manager/class-license-manager.php

Specifically, you'll want to remove lines 117 thru 119

<div class="notice notice-error yoast-notice-error">
    <p><?php printf( __( $message, $this->product->get_text_domain() ), $this->product->get_item_name(), $this->product->get_license_page_url(), $this->product->get_tracking_url( 'activate-license-notice' ) ); ?></p>
</div>

This is how you delete and remove the license nag

can't update plugin

my sftp uses port 22 but you seem to default to port 21. how can I update

using 2.4.0

Feature Request: Hide premium ad in gutenberg.

With the release of gutenberg in wordpress 5.0 Yoast SEO has made compatibility changes on their part.
This includes the mandatory ad to buy the premium version.

I suggest a feature to hide this ad, or simply extend the 'Hides the "Premium" submenu in its entirety.' setting.

Screenshots attached for clarity

2018-12-13_09-09-51
.

Ad in page markup

Hello,

Do you take the comment tags that the SEO plugin adds in the markup into account? I still can see
<!-- This site is optimized with the Yoast SEO plugin v3.2.3 - https://yoast.com/wordpress/plugins/seo/ -->
and
<!-- / Yoast SEO plugin. -->

Remove "Translate YOAST Seo Premium" nag box

YOAST Seo Free contains advertisments for the premium version, and the premium version contains advertisments/callouts for translation help (though many plugins do that)

Expected behavior

An option/checkbox that hides this box (see screenshot)

Current behavior

The box seems to appear randomly, but contains a cartoon-ish logo that doesn't fit with the wordpress core design.

How to replicate

  1. Install Yoast SEO Premium
  2. Install WPML
  3. Set up Finnish language in WPML
  4. Navigate around in Seo Premium screens until the box appears.

It's likely that the box will also come with other languages that Yoast Premium isn't translated fully into yet.

Possible way to add this

The advertisment has an ID attribute which can be used to hide it.

#i18n_promo_box {
	display: none!important;
}

Screenshots

2019-06-24_14-59-47

Edit: Fixed markdown formatting in list

PHP Warning: in_array() expects parameter 2 to be array

We are getting the following errors when this plugin is activated

PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 247
PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 251
PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 254
PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 258
PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 262
PHP Warning: in_array() expects parameter 2 to be array, boolean given in wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php on line 266

WP Version: 4.7.3
PHP Version: 7.0.17
Database Version: 5.5.54
ubuntu 14.04.1
Yoast - Version 4.5
SO Hide SEO Bloat Version 2.6.1

Remove primary category feature does not work with Yoast Premium

Even though the plugin has this:

/**
 * at some point Yoast SEO has introduced "Primary Category Feature"
 * This function removes this "feature"
 *
 * @since v3.6.0
 */
public function so_cuws_remove_primary_category_feature() {
	if ( ! empty( $this->options['remove_primarycatfeat'] ) ) {
		add_filter( 'wpseo_primary_term_taxonomies', '__return_empty_array' );
	}
}

but that does not seem to work with Yoast Premium. But if I add

add_filter( 'wpseo_primary_term_taxonomies', '__return_empty_array' );

to functions.php then it works fine..

Coloured dots not showing up in post edit screen

With the latest update of Yoast SEO (9.2), the coloured rating dots have disappeared from the sidebar metabox in the page and post edit screen. The text description (e.g. "SEO: okay") is there but no coloured dots for rating or readability. The one in the admin toolbar is showing (I've got that set to not be hidden). I did update settings for Bloat after the update. This is happening on multiple sites I manage. I can't find any setting for Bloat that should be making the dots disappear.

They are displaying as expected in the column in the lists of pages and posts.

Thanks! Very useful plugin!

Page Analysis Disabled on Posts

The "Page Analysis" tab in the Yoast SEO box that appears when editing posts displays "Page Analysis has been disabled." when activating SO Clean Up Yoast SEO. Is this intentional? Is there an option to selectively enable the "Page Analysis" tab?

Thanks!

All SEO Scores

Installed your plugin Version 2.5.4 on WP 4.7 hoping to hide 'All SEO Scores' dropdown on Posts admin backend. So far no effect. Please advise fix. Thank you.

via WP forum: Notice: Undefined index: option_page

originally posted by antonv on WP.org support:

WordPress 4.9.1, PHP 7.1, Hide SEO Bloat 3.4.1
and in wp-config.php: define(‘WP_DEBUG’, true);

If I edit a User and then Save I get following warnings:

Notice: Undefined index: option_page in /home/btelg/public_html/wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo-settings.php on line 102

Warning: Cannot modify header information – headers already sent by (output started at /home/btelg/public_html/wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo-settings.php:102) in /home/btelg/public_html/wp-admin/includes/misc.php on line 1114

Warning: Cannot modify header information – headers already sent by (output started at /home/btelg/public_html/wp-content/plugins/so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo-settings.php:102) in /home/btelg/public_html/wp-includes/pluggable.php on line 1216

[feature request] remove SEO filters on main edit Post/Page screen

I want to remove to two select boxes that appear in every admin page listing post, pages or cpts:

  • SEO Scores filter dropdown
  • Readability Scores filter dropdown

Here is an image: https://snag.gy/SJLExf.jpg

I was unable to un-hook, so I hide them. In my functions.php I have:

function my_hide_wpseo() {
    if ( is_admin() ) {
	print '<style>select#wpseo-filter, select#wpseo-readability-filter {display:none;}</style>';
    }
}
add_action( 'restrict_manage_posts', 'my_hide_wpseo', 15 );

I hope this explains.

Multisite Support?

I just network activated the plugin on my multisite network, but the Yoast SEO dasbhoard messages are still there. Is this normal?

Thanks,
Marc

wordpress-seo-dashboard-messages

new release to get up to par with Yoast 7.0

Yoast 7.0 was released today (March 6, 2018) and has a lot of "improvements".

We need to look into them all and see how we need to fix our settings accordingly.

That will take some time as we have a few projects going on at the moment.

If you see anything that needs adjusting, then please leave a comment on this thread, so we can add that to the list. I have added the first one below as an example.

Hide content analysis nag by post type

Some post types I'd like to view the content analysis, and others not. For example, on pages, I use ACF fields for content, and so the Yoast content analysis section is useless. For my "team" post type, I use the regular the_content field, so the content analysis section is useful.

Custom Post Types

I have the plugin installed on Multisite. However, the Yoast box still appears on custom post type write screens. Is there something that needs to be done to activate the plugin on CPTs?

Remove Yoast Comments from Source Code

This is a feature request:

You have come this far - how about going to the next step and having the option to remove the HTML comments that identify Yoast SEO plugin in the source code.

Option to remove the URL at the top of the sitemap.xml

Thank you

[Request] Remove sitemap generated by Yoast

Hello,

I was hoping that an option can be added to remove the following:

Generated by Yoast SEO, this is an XML Sitemap, meant for consumption by search engines.
You can find more information about XML sitemaps on sitemaps.org

As php/html code:

Generated by <a href="https://yoast.com/">Yoast</a> <a href="https://yoast.com/wordpress/plugins/seo/">SEO</a>, this is an XML Sitemap, meant for consumption by search engines.<br/>
				You can find more information about XML sitemaps on <a href="http://sitemaps.org">sitemaps.org</a>```

It can be found in ```wordpress-seo\css\xml-sitemap-xsl.php``` and the lines are 93-96.

Yoast Adds More bloat

Looks like a "Go Premium" sub menu has been added under the main SEO menu. I probably wouldn't have noticed it if it wasn't for the big orange star also included.

New SEO Column on Posts Page

It appears Yoast has added a new column called Readability to the posts page. I modified the source in my site to get rid of it but thought you might also be interested in the modification I made. I didn't know if you had developers for the code or if anyone could so I'm posting this as an issue. It probably should be added as a separate item in the settings but I just wanted it gone.

In the page, so-clean-up-wp-seo/includes/class-so-clean-up-wp-seo.php at current line 230 under comment // all columns I replaced the line with this:
echo '.column-wpseo-score,.column-wpseo_score,.column-wpseo-score-readability,.column-wpseo-title,.column-wpseo-metadesc,.column-wpseo-focuskw{display:none;}'; // @SInCE v2.0.0 remove seo columns one by one

Then after line 235 under comment // seo score column I added this line:
echo '.column-wpseo-score-readability{display:none;}'; // @SInCE v2.0.0 remove seo columns one by one

Admin Bar

The feature removes the Yoast SEO settings from the Admin Bar works fine, but with 2.3.5/1.7.2 still a SEO entry appears in Admin Bar, which has some links to keyword research resources, id=wp-admin-bar-wpseo-kwresearch.

Can you add removal of whole SEO entry in Admin Bar?

Thanks for the plugin.

when multiple settings can be selected, options are not saved and therefore not output

@afragen
I noticed a problem with the current version of the plugin.
Everywhere where there are multiple settings can be selected:

  • Problems/Notifications
  • Content (Readability) / Keyword (SEO) Score
  • Help center
  • Admin columns

Although it looks like the settings are saved on the Settings page, the relevant styling rules are in fact not added to the cuws_settings options table.

Do you have any idea why/how that is possible?

Thanks for having a look at it!

Network activation

Why does the plugin need to be activated network wide?

I have the Yoast plugin activated on some sites, but not all, but oddly I need to have the SO Clean up WP SEO plugin network activated. It seems strange to me.

Add settings page

With a Settings page in place we enable the user to clean up individual items, instead of the current blanket rule.

Move options to array

To continue discussing moving the options to an array as brought up in #16

Moving settings to an array simplifies for a single call to get and save options. If you want I can work on a branch for that.

2 bugs and 1 feature request

Currently if we hide Admin columns such as SEO score column, Readability score column etc the data actually gets hidden but the options still shows up "Screen Options" settings. I'm guessing the columns is not unhooking the proper way. The proper way to hide those would be this: https://gist.github.com/amboutwe/18558a7e681e36c6bfe6e4fb647265ce

“Remove HTML Comments” does not work on Yoast SEO Premium.
<!-- / Yoast SEO Premium plugin. --> still shows up in source code.
Proper way to hide this would be: https://buddydev.com/remove-this-site-is-optimized-with-the-yoast-seo-plugin-vx-y-z/

FR: is there any way to hide “Advanced” tab? – https://s.put.re/jPZh688X.png

[question] Does this plugin help with page speed?

Via email we received the following question:

I have a question about your Hide SEO Bloat plugin, and I wasn’t able to find an answer in the FAQ or any of the support pages.

I understand that it enables hiding a lot of the features of the Yoast SEO plugin, but does it actually help with page speed? Yoast is known for being a bit bloated and potentially contributing to slow page loading speed. Does your plugin aid in increasing page speed by disabling the features of the Yoast plugin, or does it simply hide features in the UI of WordPress?

As other people might have the same question, we decided to post it here.

The Yoast SEO plugin indeed is known for being bloated, but I am not sure whether it also contributes to slow page loading speed as most of the bloat is on the backend. Where have you heard/read that it slows down the frontend?

The Hide SEO Bloat plugin hardly disables anything. It hides stuff that Yoast adds. Therefore I rather not make any claim that it would help with page speed.

Hope this helps.

yoast translate promo box

Can you add removal of yoast translate promo box <div id="i18n_promo_box".. as well?

Thanks for the plugin.

Remove Courses

Expected behavior

Current behavior

Possible way to add this

Screenshots

get it to work on Google Analytics van Yoast as wel?

Hi Piet, like your plugin a lot... much as I like Yoast, I do not need to see him all over the place in the backend(s)... I'd rather have a drink with him at a WordCamp :-)
Maybe there is a way to make the adds disappear in his other plugins at the same time :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.