: Page title and permalinks : hwkelly May 17, 2017, 05:41:47 AM The theme automatically creates a link on the page title to itself. How do I stop that and remove the existing links?
: Re: Page title and permalinks : Tristan Rineer May 17, 2017, 11:48:17 AM In the content.php file of the theme, you can find the following code at around line 51 and change it.
From: : <a class="wp-contenttitle" href="<?php the_permalink(); ?>" title="<?php the_title_attribute( array('before' => 'Permalink to: ', 'after' => '')); ?>"><?php the_title(); ?></a> To: : <?php the_title(); ?> This will remove the link from all titles, including in lists of blog posts, which means that clicking to title to continue to the full post will no longer work. : Re: Page title and permalinks : hwkelly May 17, 2017, 01:34:48 PM Thanks. My strong suggestion is that you treat blog post and pages differently for themes targeted at the B2B customer.
: Re: Page title and permalinks : Tristan Rineer May 18, 2017, 09:53:02 AM Thanks for the suggestion. I'll add it to my list of features to put into the framework.
|