Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Stand Alone Page with PHP Code?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 23, 2011, 02:55 PM
GRF
 
76 posts · Mar 2011
[SOLVED] Stand Alone Page with PHP Code?

I need to add a page that has all the elements (i.e. header, widgets, footer, etc.) with custom PHP added to the center column (where post article content code goes)

I tried this code below but complains of missing functions. I'm using v3.6.4

Here is my source in my .PHP file.

<?php /* get all options: */
# error_reporting(-1);

list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();

get_header();

extract($bfa_ata);

<!-- MY PHP CODE -->

?>

<?php get_footer(); ?>
  #2  
Old Sep 23, 2011, 03:13 PM
juggledad's Avatar
juggledad
 
22,170 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what functions does it say it is missing?
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Sep 23, 2011, 06:00 PM
GRF
 
76 posts · Mar 2011
Fatal error: Call to undefined function bfa_get_options() in /home/tsfl/public_html/healthyweightlosssystem.net/linkpartners.php on line 4
  #4  
Old Sep 23, 2011, 06:26 PM
juggledad's Avatar
juggledad
 
22,170 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
are you using this as a template or a pagexx.php file?
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #5  
Old Sep 23, 2011, 06:35 PM
GRF
 
76 posts · Mar 2011
No template, just pagexx.php file.

I'm putting some link partner .php code in it and can't uses the ExecPHP plug-in because it conflicts with another plun-in I use.
  #6  
Old Sep 23, 2011, 07:30 PM
juggledad's Avatar
juggledad
 
22,170 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
I'd have to see the exact code to be of any help
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #7  
Old Sep 23, 2011, 09:31 PM
GRF
 
76 posts · Mar 2011
?php /* get all options: */
# error_reporting(-1);

list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();

get_header();

extract($bfa_ata);

echo "MY PHP CODE"

?>

<?php get_footer(); ?>

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] copy/pasting jquery code in page apparently generates unwanted code tags (p, mafgirl Center area post/pages 2 Jan 19, 2012 09:10 AM
PHP code in page kicker lars.johan@hotmail.com eCommerce & Atahualpa 5 Sep 22, 2011 05:34 PM
Adding code for ads or other sites (newbie when it comes to code issues!) gardentravelbuzz Plugins & Atahualpa 7 Feb 7, 2011 04:43 AM
How do I code an anchor link from one page to another page? kippiper Center area post/pages 1 Sep 13, 2010 02:57 PM
[SOLVED] Stand alone php page on Atahualpa theme catherinehbbh Forum How-To 2 Apr 7, 2010 07:34 PM


All times are GMT -6. The time now is 06:10 PM.


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