Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] insert short code php page (http://forum.bytesforall.com/showthread.php?t=21031)

masmaz Oct 20, 2013 03:42 PM

[SOLVED] insert short code php page
 
hi

I would use a slide, by entering the code in the page.php file, but any code I post does not work, example: <? php wowslider (1);?>

How can I solve this problem?

regards
max

lmilesw Oct 20, 2013 06:03 PM

It seems that I recall that Wow Slider will work with a shortcode and you could put that in a widget area. I think Montezuma calls them sidebar areas or something like that instead of widget areas.

juggledad Oct 20, 2013 07:31 PM

The php code you can put in teh virtual templates is LIMITED but as larry said, you can use the 'dynamic_sidebar()' function to add a widget area and put your code in a text widget (as long as you have a plugin like exec-php) or some other php aware widget.

masmaz Oct 21, 2013 11:42 AM

I knew that the widget but I never figured out how to do it ... maybe because I do not understand the English language ... bhooo

I used the plugin "widget php" Arbitrary text, HTML, or PHP code but then? how to use it?

how do you draw the widget code?

you can explain step by step how you do it?

regards

max

juggledad Oct 21, 2013 03:13 PM

Quote:

you can explain step by step how you do it?
Go to mto->Main Template->page.php
Click the tab labeled 'Limited PHP Code' in the yellow bar at the top of the screen
scrool down till you see 'dynamic_sidebar' - click it
read the directions

masmaz Oct 22, 2013 10:09 AM

juggledad,

you've been a great help ... as usual :-)

regards
max


All times are GMT -6. The time now is 08:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.