uqamsav
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Type Switcher] PHP version rolled back?It looks like we can’t even install the plugin right now, because of the PHP version
Forum: Plugins
In reply to: [Yoast SEO] Default settings filterSo the above code left the logo url empty in the json-ld output.
add_filter( 'wpseo_schema_organization', function ( $data ) { if ( empty( $data['logo']['url']) ) { $data['logo']['url'] = get_stylesheet_directory_uri() . '/assets/images/logo.jpg'; } return $data; }, 20 );
Forum: Plugins
In reply to: [Yoast SEO] Default settings filterOk, figured it out.
Along withdefine( 'WP_DEFAULT_THEME', 'inhouse-theme' );
add_filter( 'wpseo_defaults', function( $defaults, $option_name ) { if( 'wpseo_titles' === $option_name ){ $defaults['company_or_person'] = 'company'; $defaults['company_name'] = get_bloginfo('name'); $defaults['company_logo'] = get_stylesheet_directory_uri() . '/assets/images/logo.svg'; $defaults['separator'] = 'sc-pipe'; $defaults['breadcrumbs-enable'] = '1'; $defaults['stripcategorybase'] = true; } return $defaults; }, 20, 2);
Forum: Plugins
In reply to: [Yoast SEO] Update 14.0 – Site completely brokenuninstall / reinstall
uninstall, reinstall worked, thanks
So after downloading and executing the aformentioned Reset: Fatality remains
Fatal error: Uncaught Error: Class 'Yoast\WP\Free\Yoast_Model' not found in /home/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php:72 Stack trace: #0 /home/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php(20): WpYoastIndexableMeta->get_table_name() #1 /home/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(223): WpYoastIndexableMeta->up() #2 /home/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(196): YoastSEO_Vendor\Task_Db_Migrate->run_migrations(Array, 'up', NULL) #3 /home/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Task/Db/Migrate.php(114): YoastSEO_Vendor\Task_Db_Migrate->prepare_to_migrate(NULL, 'up') #4 /home/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/ruckusing/lib/Ruckusing/Task/Manager.php(172): YoastSEO_Vendor\Task_Db_Migrate->ex in /home/public_html/wp-content/plugins/wordpress-seo/migrations/20180515101200_WpYoastIndexableMeta.php on line 72
Getting the same error!
More Performance suggestions:
If I’m using a twitter widget, the plugin should dodns-prefetch
andpreload
onhttps://platform.twitter.com/widgets.js
up in the head to prevent render blocking.
ThanksForum: Plugins
In reply to: [Yoast SEO] og:image override not workingThe offending code was
add_filter( 'wpseo_opengraph_image_size', function(){ return 'large'} );
Since version 11 the wpseo_opengraph_image_size filter overrides an explicitly set facebook image on post, and instead returns the featured-imageForum: Plugins
In reply to: [Advanced Editor Tools] Unwanted inline styles added to tablesOne would think the following would work :
function mce_settings( $settings ) { $settings['table_default_styles'] = false; $settings['table_default_attributes'] = false; return $settings; } add_filter( 'tiny_mce_before_init', 'mce_settings' );
Alas, we must resort to less elegant overrides.
An HTTP Error is shown to the user, however inspecting the console reveals the following error:
POST https://mysite.com/wp-admin/async-upload.php 500 (Internal Server Error)
To be clear, disabling this single setting, fixes the error. Re-enabling it, predictably causes the error to reappear.
Thank you
Forum: Plugins
In reply to: [Enhanced Media Library] wpuxsolutions.com : Renew security certificateI contacted the WP-Rocket support and they are aware of the problem. They told me it was going to be fixed in the next update(1.8) wich is coming very soon!
Forum: Plugins
In reply to: [Polylang] Cannot add new languages and does not detect any languagesI contacted the WP-Rocket support and they are aware of the problem. They told me it was going to be fixed in the next update(1.8) wich is coming very soon!
Forum: Plugins
In reply to: [Polylang] Cannot add new languages and does not detect any languagesYes I saw it thanks, but I wanted to know if there was a real fix instead of having to deactivate my other plugin.