Removing permalinks

March 2014 WordPress Theme
GK User
Tue Aug 26, 2014 8:06 am
Hi I want to edit the text and info under the article title. I.e remove the permalinks. I'm sure I just need to remove this <?php the_title(); ?> but I cant find where to do it. I thought it would be the functions.php but it doesn't seem to be there.
I also want to change the title text for things like 'published in'
and also 'related posts'
thanks! :D
User avatar
Senior Boarder

GK User
Tue Aug 26, 2014 9:45 am
Hi,

Please check News2/gavern/helpers/helpers.layout.fragments.php file and gk_post_meta function. Remove this fragment if you want to remove permalink:

Code: Select all
<a href="<?php echo esc_url(get_permalink()); ?>" title="<?php printf(__('Permalink to %1$s', GKTPLNAME), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php _e('Permalink', GKTPLNAME); ?></a>


Texts like "published in" are in the same function - may be also translated using .pot language file.
User avatar
Moderator


cron