<?php
if ($post->post_parent) {
echo '<a href="'.get_permalink($post->post_parent).'" class="back">Back to '. ucwords(get_the_title($post->post_parent)) .'</a>';
} ?>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.