How to add title to Carousel
Started by
vitordt
, Jul 12 2011 08:28 PM
6 replies to this topic
#1
Posted 12 July 2011 - 08:28 PM
Hi guys
I would like to add a title to Carousel in one of my pages.
I have seen other topics and it need to create a hook on on functions.php.
Would you help me with the coding?
The page is (the carousel is at the bottom).
Greetings from Brazil !
Cheers
#2
Posted 13 July 2011 - 02:21 AM
Have you already looked at the tutorial here?:
It provides steps on how to a hook. Post here again if you need assistance with any of the steps.
#3
Posted 13 July 2011 - 11:20 AM
Hi Catrina,
Thank you for the video.
I did watch it, but it didn't specifically say anything about adding title to carousel or other feature.
Would you be able to provide me with the code for this function?
Cheers.
#4
Posted 13 July 2011 - 03:15 PM
Hey Vitor,
If you go to Settings->Template Setup->Carousel Page, under "PageLines Carousel" there is a dropdown titled "Advanced Setup". There's a list of "Standard Hooks" listed there that you can use.
#5
Posted 13 July 2011 - 04:37 PM
Hi Kate and Catrina
I think I got the code wrong.
I would like to insert a title in the Carousel.
The code I inserted in Functions.php is:
Just before the carousel is showing the following error:
Can you please help me?
Thanks
V?tor
I think I got the code wrong.
I would like to insert a title in the Carousel.
The code I inserted in Functions.php is:
Just before the carousel is showing the following error:
Warning: Missing argument 2 for apply_filters(), called in /home/mindon/www/v3/wp-content/themes/platformbase/functions.php on line 106 and defined in /home/mindon/www/v3/wp-includes/plugin.php on line 134
Can you please help me?
Thanks
V?tor
#6
Posted 13 July 2011 - 10:15 PM
If you just want the title to show you can simplify it
`
add_action('pagelines_inside_top_carousel','add_carousel_title');
function add_carousel_title() {?>
your title
#7
Posted 14 July 2011 - 01:29 PM
Thanks Adam,
You rock!










