Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20386

    Instead of having a big title on the portfolio page (a single portfolio item), I would like to add a back link there.

    In “funtioncs-eunoia.php” I found the following:

    ‘html’ => “<div class=’{class} title_container’><div class=’container’><h1 class=’main-title’>{title}</h1>{additions}</div></div>”,

    If I remove {title} from that, the title is gone, and I can replace it with a text. But if I add any a href-link there (for example “Go back” I get a big error (can’t enter the page at all). Any suggestions?

    #107446

    Hi,

    You are probably inserting a link without putting a slash in front of the double quotes. Have you tried using single quotes inside the anchor tag:

    'html'	 => "<div class='{class} title_container'><div class='container'><h1 class='main-title'><a href='http://www.google.com' title='Google'>Google</a></h1>{additions}</div></div>",

    Thanks,

    Nick

    #107447

    Ah, that was the problem. Works great now, thanks!

    #107448

    Enjoy the theme!

    Thanks,

    Nick

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Change portfolio post title to a back link’ is closed to new replies.