GetSimple Support Forum

Full Version: get_page_title (?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

<?php get_page_title ?>

<?php $thumbsup>setup('Exam123', 'up-down')->render() ?> = working

<?php $thumbsup>setup('.get_page_title', 'up-down')->render() ?> Not working

<?php $thumbsup>setup('<?php get_page_title ?> ', 'up-down')->render() ?> Not working

i can how work ?
Thanks


(i not good EnglishSad)
How about?

Code:
<?php $thumpsup->setup (get_page_title(), 'up-down')->render() ?>

It is a little cryptic about what you want but its the best guess Smile
Jeed Wrote:How about?

Code:
<?php $thumpsup->setup (get_page_title(), 'up-down')->render() ?>

It is a little cryptic about what you want but its the best guess Smile

[Image: 1275553845-e1e1.png]

Other details:

[Image: 1275554412-Untitled-1.png]
Where exactly is $thumpsup coming from? I don’t believe that’s anything I’ve seen used before. It might help us to know what you are using.
Zegnåt Wrote:Where exactly is $thumpsup coming from? I don’t believe that’s anything I’ve seen used before. It might help us to know what you are using.

this script:

http://www.geertdedeckere.be/lab/themefo...bsup/demo/
Al right, I think this would be the best implementation:
Code:
<?php $thumbsup->setup(return_page_slug(), 'up-down')->render() ?>
This should work too:
Code:
<?php $thumbsup->setup(return_page_title(), 'up-down')->render() ?>
But as I don’t know how data is being saved (didn’t look into it much) you might want to use the first version based on the page slug.
Zegnåt Wrote:Al right, I think this would be the best implementation:
Code:
<?php $thumbsup->setup(return_page_slug(), 'up-down')->render() ?>
This should work too:
Code:
<?php $thumbsup->setup(return_page_title(), 'up-down')->render() ?>
But as I don’t know how data is being saved (didn’t look into it much) you might want to use the first version based on the page slug.

Zegnåt, script working! Very very thanks!