Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Child menu plugin
Post: Child menu plugin
Hi erka,
I'm a real php noob, in any case I found your plugin very useful, thanks!
I would like to ask you if is possible to display a default content (...) if there are no child pages to display.
... |
|
quite_me |
Plugins
|
93 |
263,139 |
2011-03-23, 18:17:51 |
|
|
Thread: Function: per page components.
Post: Function: per page components.
Zegnåt Wrote:
--
You could also make the if-clauses a little longer and get down to only 2 seperate checks:
Code:
--
if ( return_page_slug() == 'index' || return_parent() == 'index' ) {
get_... |
|
quite_me |
Scripts & Components
|
17 |
57,224 |
2010-11-20, 00:39:26 |
|
|
Thread: Function: per page components.
Post: Function: per page components.
Hi Zegnåt,
thanks for this function, it's very useful.
In one of my project I need to change a component in page by return_page_slug and return_parent, so I modified your first script in
Code:
... |
|
quite_me |
Scripts & Components
|
17 |
57,224 |
2010-11-19, 21:07:46 |