Member
Member
slaattnes   2009-09-17, 01:08
#1

Hi

How can I get the current news link in a link like this:

`

Member
Member
slaattnes   2009-09-17, 02:13
#2

I found a dirty solution:

`

Administrator
Administrator
acrylian   2009-09-17, 08:30
#3

`` is a Wordpress function anyway....

There are several ways to do this:
getNewsURL() (if in news context you can get the titlelink with $_zp_current_zenpage_news->getTitlelink())

Or by combining: echo getNewsBaseURL()."/".getNewsTitlelink().

Probably indeed a good idea to have a function for the full link, I will add that for the next version.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.