Archive for category: Retail Connex
I am using postname as permalink and I get this on archieve page only, using the default WordPress Recent Post
http://screencast.com/t/eNBKsTsrw
On single Post, it looks okay
http://screencast.com/t/7hITvkVU0W
But the permalink is wrong on single Post
any update?
Hi warrentkachuk,
Can we see the pages live? Inspecting the code will give us the most information to try and figure out what the issue is.
As an aside, our Queue system works by oldest post within a topic so self-bumping or self-responding pushes the topic to the end of our queue instead of bringing it forward.
Regards,
Devin
You can use following filter code to remove the permalink – insert it at the bottom of functions.php:
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
function fix_single_post_title($args,$id)
{
if ( is_single() )
{
$args['link'] = false;
}
return $args;
}
If you want to change the title text to the current post title use:
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
function fix_single_post_title($args,$id)
{
if ( is_single() && get_post_type() == 'post' )
{
$args['link'] = false;
$args['title'] = get_the_title($id);
}
return $args;
}