• 0

Stopping Pagelines Dynamically Serving CSS


Question

Posted · Report post

Is there a way of stopping pagelines dynamically serving css? WordPress Version : 3.6.1 Framework Version : 2.4.4 Framework Build : 2.4.4

Share this post


Link to post
Share on other sites

17 answers to this question

  • 0

Posted · Report post

Depends what the issue is, if you provide a url and turn on debug we might be able to assist.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Simon

 

The issue we have is that a css file is not being generated so its not being cached.

 

Is there a way to use a static css file?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

it WILL use a static file, if it can. If the file permissions are right etc.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So can you tell me what folders and what files and what permissions?
 
I cannot seem to get this to work despite having looked at all the threads on the forum

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

your wp-content/uploads folder.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi

 

That folder is fully writable - it seems that the css file is not being written to it

 

Does a specific user need to own the folder? At the moment Daemon owns it

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Well thats the issue then, unless your username is Daemon of course, anything is possible.

 

add to your child theme functions.php

 

add_filter( 'render_css_posix_', '__return_true' );

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi

 

We are using the base theme not a child theme.

 

Is there a work around - we are looking to launch tomorrow and this has just come up as an issue.

 

 

is there any where else I can add the filter?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The base theme is a child theme add it there.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Sorry to be a pain but could you tell me which folder and file this filter needs to be added to?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

you said you have the base child theme, add to the functions.php in that folder.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

that would be wp-content/themes/pagelines/functions.php?

 

Sorry I'm not a developer

and everything has been working well except this.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there, no thats thats the core file.

 

You'll need to install the base theme (which is like a blank child theme) and make that the active theme. You can download the base theme from here - https://github.com/bearded-avenger/nicks-base-theme

 

Then place that filter Simon provided within the functions.php of the base theme.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Will this team work with Pagelines Framework? - it looks like its for DMS?

 

Should I install the Pagelines Base Theme (Starter Theme)?

 

Will I lose anything by activating either?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

either child theme would do.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Will I lose my custom code or pageline settings by activating?

 

Can I switch back to the core theme without losing anything?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

As long as you have not edited any files... no you wont lose any settings.

 

Wordpress however DOES store a couple of settings on a theme basis, widgets and menus, so you might have to move them back.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now