Google 404 Errors

This was caused by a small bug in my first implementation of the rel=”next” and rel=”prev” features that Google launched 2 weeks ago in my WordPress SEO plugin. That bug has been fixed, you’re up to date and the 404’s should go away soon enough, nothing to worry about!

Double bar “|” in title (By WP SEO Yoast?) [closed]

I use this plugin together with TwentyTen too and encountered the same problem. My solution is to leave wp_title( ‘|’, true, ‘right’ ); unchanged but only enable the call to function bloginfo() in the next line if plugin WordPress SEO is inactive. include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ ); // Add the blog name. if ( is_plugin_inactive(‘wordpress-seo/wp-seo.php’) … Read more

Problem with parent page slug only in WordPress admin

Edit. Here’s another solution to not mess with the edit slug button. The function get_sample_permalink_html in wp_admin/includes/post.php outputs the sample permalink and an edit button. It can be filtered like this: add_filter(‘get_sample_permalink_html’,’my_sample_permalink’,10,2); function my_sample_permalink ($page_link,$id){ $page = get_page($id); if($page->post_type == “page” && $page->post_parent) { $parent = get_page($page->post_parent); $page_link = preg_replace(“/(sample-permalink\”>).*?(<)/”,”$1″.home_url(“https://wordpress.stackexchange.com/”).$parent->post_name.”/$2″,$page_link); } return $page_link; } Can’t … Read more

how to show Author information in search results

It’s called Author Rich Snippets. Your link needs to look like <link href=”https://plus.google.com/115911773396772351667?rel=author”/>Your Name</a> The Simple Way To Set Up Author Rich Snippets There are a few things you need in order to step up Author Rich Snippets: A public Google+ profile. Make sure to upload a decent looking profile picture. Google will use this … Read more

WordPress SEO plugin (by Yoast) and BuddyPress [closed]

This is possible using the filter wpseo_breadcrumb_links. In this example, I’m using the functions bp_get_user_meta and bp_loggedin_user_id, adjust as needed. To check if the page is child of the Members page (in this example, ID == 2), I’m using the function has_parent grabbed from here. add_filter( ‘wpseo_breadcrumb_links’, ‘buddy_crumbs_wpse_88889’ ); function buddy_crumbs_wpse_88889( $links ) { // … Read more

Remove Yoast jQuery from front end

How this line (9th) is created within your theme code? <script type=”text/javascript” src=”https://wordpress.stackexchange.com/wp-content/themes/blankslate/js/jquery-1.11.1.min.js”></script> If it is hard-coded in header.php, then I would recommend to remove it. Scripts should be enqueued instead of hard-coding them. Next, you can de-register jquery.migrate script with the following code added to functions.php: /** * Remove jQuery migrate script */ add_filter( … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)