2016-08-20, 00:53:54
(2016-08-19, 17:47:02)Hypertexter Wrote: But what do you mean by
Quote:Though it may be better checking for the blog slug and rendering the link...
?
I mean something like:
Code:
<?php if (return_page_slug() == "blog") { ?>
<h1><a href="<?php echo find_url("blog", ""); ?>"><?php get_page_title(); ?></a></h1>
<?php } else { ?>
<h1><?php get_page_title(); ?></h1>
<?php } ?>
This way you don't need to insert html code in your blog page title.