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 » Montezuma Theme »

Custom field template tag

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Nov 5, 2012, 03:46 AM
6 posts · Nov 2012

I have found the template_tags.php include file and I am trying to add a custom template tag that will display custom field data for each post.

Here is what I have for a test:

function bfa_post_link() {
	$id = get_the_ID();
	echo 'This is the current post ID: '.$id;
I want to use this in a sub-template, however when I insert my custom template tag ( bfa_post_link(); ), it doesn't display anything. Do I need to declare this function in another file somewhere so it loads with the rest or something similar?

Ps: Is there any other easier way of displaying custom field data for each post in Montezuma's virtual template system?

Any help or advice is much appreciated.

Old Nov 5, 2012, 01:05 PM
juggledad's Avatar
22,098 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Currently custom fields are not supported. I'll ask the developer about this.
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
Old Nov 5, 2012, 01:29 PM
6 posts · Nov 2012
Oh I see, it would be very helpful to have this support. Thanks, I look forward to your reply.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show custom field in kicker - only IF field value exists jaxon Center area post/pages 13 Feb 6, 2013 01:11 PM
Custom field template - show on posts.. uffehs Atahualpa 3 Wordpress theme 5 Apr 6, 2012 03:31 PM
Using a custom field within an excerpt... or trying to arthurmild Excerpts, Read more, Pagination 4 Jan 5, 2011 04:40 AM
Button with Custom Field Xethon Sidebars & Widgets 0 Sep 17, 2010 04:08 AM
Custom field image with custom field link mbastos Atahualpa 3 Wordpress theme 1 Jul 1, 2010 08:17 AM

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

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