Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] insert short code php page


  #1  
Old Oct 20, 2013, 03:42 PM
masmaz
 
38 posts · Apr 2013
[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

Last edited by masmaz; Oct 20, 2013 at 04:33 PM.
  #2  
Old Oct 20, 2013, 06:03 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 20, 2013, 07:31 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 21, 2013, 11:42 AM
masmaz
 
38 posts · Apr 2013
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
  #5  
Old Oct 21, 2013, 03:13 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 22, 2013, 10:09 AM
masmaz
 
38 posts · Apr 2013
juggledad,

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

regards
max

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
insert code newtickers masmaz Montezuma Theme 18 May 19, 2013 06:20 AM
The short code and excerpt problem. eerms Excerpts, Read more, Pagination 5 Sep 22, 2009 04:33 PM
How to insert php code into Byline JakeThePeg Post-Kicker, -Byline & -Footer 1 Aug 27, 2009 06:16 PM


All times are GMT -6. The time now is 05:58 PM.


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