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 »

Where to place custom PHP?


 
Prev Previous Post   Next Post Next
  #1  
Old Jan 26, 2014, 02:37 AM
edent
 
1 posts · Jan 2014
Options Where to place custom PHP?

I'm getting a little confused with the virtual templating system. I understand that I can only use a *limited* set of PHP in the Montezuma options.

What I want to do is place the following line

PHP Code:
<?php if(function_exists('the_views')) { the_views(); } ?>
After the post's title. (It's to show the number of page views).

So, if I can't put that in the virtual theme - which file do I need to edit in order to have my titles display as "$Title - $Number_of_Comments - $Number_of_Pageviews"?

Thanks for an amazing theme.
 

Bookmarks

Tags
custom, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Pagination with Custom Post types, and Custom Page template magesm Atahualpa 3 Wordpress theme 3 Nov 6, 2013 04:48 PM
Place Custom Menu Code with CSS & Javascript Looks Ugly GRF Sidebars & Widgets 7 Jul 22, 2012 10:00 AM
Place a custom element (any text) somewhere on the home page jrobie23 Header configuration & styling 4 Dec 30, 2011 12:40 PM
how to place and where to place a sign up box zizi Header configuration & styling 5 Oct 10, 2010 07:41 PM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM


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


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