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 »

PHP include in CSS Inserts


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 6, 2011, 02:35 PM
sawyerjw
 
24 posts · Dec 2010
Eastern PA, USA
PHP include in CSS Inserts

I like to edit my custom CSS as a separate file and include it in the HTML/CSS inserts section with a line similar to the following:

PHP Code:
include_once get_template_directory_uri() . '/custom.css'
This works great on my web host. One of my clients has a site hosted by the same web hosting company and the above does not work on his site. To get the custom CSS to be recognized on his site, I have to copy the contents of 'custom.css' and paste it into the HTML/CSS inserts section in place of the above insert.

Obviously, there's something different about his account, but I've yet to figure it out. Has anyone encountered this and found a solution for it?

WP version is 3.1.1
Atahualpa version is 3.6.4

Thanks,

John
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts krystyna New Versions, & Updating 3 Oct 28, 2010 12:22 PM
[SOLVED] 3.5.3 Default text in ATO>Add HTML/CSS Inserts>CSS Inserts boris_mcnorris New Versions, & Updating 4 Oct 16, 2010 03:57 PM
[SOLVED] PHP code in HTML / CSS Inserts. MickR Header configuration & styling 2 Aug 12, 2010 02:47 PM
ADD HTML/CSS Inserts -- 3.5.1 --- Need to remove default CSS Inserts ortho New Versions, & Updating 0 Jun 23, 2010 03:17 PM
[SOLVED] why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts ppat2 New Versions, & Updating 3 Jun 2, 2009 05:41 PM


All times are GMT -6. The time now is 01:28 AM.


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