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 » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Adding some stuff to post-footer


  #1  
Old May 25, 2011, 03:40 AM
Edwin
 
8 posts · Jul 2010
I want to add the following to the footer on the single post page:

Code:
| Laatst gewijzigd: <?php mdv_last_modified(); ?> |
But it seems php is no longer allowed to work. Is there any workaround to it?
  #2  
Old May 25, 2011, 04:16 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can add a widget area and then put the php in a text widget. Then get the exec-php widget
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 26, 2011, 03:58 AM
Edwin
 
8 posts · Jul 2010
I don't mean the footer, but the FOOTER: Single Post Pages where you can include the following:

Quote:
Gepost op %date('F jS, Y')% | %tags-linked('Tags: ', ', ', ' | ')% Category: %categories-linked(', ')% %edit(' | ', 'Edit this post', '')% | Laatst gewijzigd: <?php mdv_last_modified(); ?> |
Just beneath the posts it self

  #4  
Old May 26, 2011, 06:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
unfortunately, due to WordPress.org requirements the use of php in the theme options had to be removed. There should have been a notice on the 'Edit POST/PAGE INFO ITEMS' option to that effect (I'll tell the developer)

To do something like this, you will have to edit the theme code (bfa_post_parts.php) and remember to do it after each upgrade.

(and yes, I wish WordPress.org would lift the restriction on the use of eval() - go complain to them)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 26, 2011, 09:21 AM
Edwin
 
8 posts · Jul 2010
Okay, thanks. Then I know for me it will be a no go

*blames WordPress*

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding to page's footer krmcguire Header configuration & styling 0 Jul 15, 2010 10:28 AM
Adding Widgets to Footer MyJourneytoMillions Sidebars & Widgets 2 Jan 7, 2010 03:12 PM
Adding ShareThis Code to Post Footer clearlygold Post-Kicker, -Byline & -Footer 4 Jun 4, 2009 10:54 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 07:50 PM


All times are GMT -6. The time now is 11:47 AM.


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