Use of comment_reply_link_args filter

You mean, something like this? add_filter( ‘comment_reply_link_args’, ‘change_author_title’, 10, 2 ); function change_author_title( $args, $comment ) { $args[‘reply_to_text’] = ‘Reply to ‘ . get_comment_author( $comment ); return $args; } Explanation: I changed the function declaration so that it accepts the second parameter ($comment) which is the comment object (a WP_Comment instance), then I simply call … Read more

Can’t split the_title() by white space

The first way you tried should work if you use get_the_title() instead. It’s because get_the_title returns the title, whereas the_title() function echos the title by default. $title_split = explode(” “, trim(get_the_title()));

Delete a repeated part of post title in WordPress

if you have access to your database, as every posts are registered in the (wp_/ or whatever is your prefix )posts , you can probably do it via sql something like update wp_posts SET post_title = substring(post_title,1, CHAR_LENGTH(post_title) – 10)) WHERE post_title like ‘%With Table’

Address as a content type post

Welcome to WPSE. This is a rather broad question and perhaps not quite on topic here, but here are some links that should get you started developing a solution to match your needs. Introduction to Plugin Development – A custom plugin is good place for this kind of custom functionality so it won’t be lost … Read more

Can I change the “Home” text in the menu?

What I did was really simple…In the admin panel I left the name as home, then I used conditional statements to change the name. For the navigation I used: <ul> <li <?php if ( is_home() ) { ?>class=”current_page_item”<?php } ?>><a href=”https://wordpress.stackexchange.com/questions/32328/<?php bloginfo(“url’) ?>”>About Us</a></li> <?php $args = array(“exclude” => “”.page_name(‘Homepage’).”, “title_li” => “”); wp_list_pages( $args … Read more

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