Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to load existant function in a plugin to use it for the plugin?
#1
Hello,

I would like to personalise the plugin multiple level menu of Zegnåt, but i need to load the meta keyword function.
Someone knows how do this?

I found this one theme_functions :
Code:
function get_page_meta_keywords() {
        global $metak;
        echo stripslashes(htmlspecialchars_decode(@$metak, ENT_QUOTES));
    }

and this

Code:
$keywords = stripslashes(htmlspecialchars_decode(@$metak, ENT_QUOTES));

Maybe it's possible to use this...?


here, it's for metakeyword, but if you know how do what i want, it could be used for all function present yet in GS Wink

thanks for help
Reply
#2
Hello...

Anybody could help me... Sad
Reply
#3
If you look at the code of my plugin there are 2 lines starting with the following:
Code:
echo '<li'.
These lines draw the actual menu items.

To put in the content you’ll see I use things like $link->url and $link->menu. $link->meta should be the tags box, so putting that one in the echo line would make it print the text you want it to.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)