• 0

functions.php - pagelines customise

Question

Posted · Report post

Hi all

 

I have the pagelines customise plugin installed however when I code to the functions.php file (located in the plugin folder) it seems to have no effect. 

/*
// ====================================================
// = YOUR FUNCTIONS - Where you should add your code  =
// ====================================================
*/
if ( ! isset( $content_width ) )
    $content_width = 940;

Is there something that I am missing.

 

Thanks in advance. 

 

Keith

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

When you copy and paste make sure you copy all of it you missed the most important line ;)
[ptiframe]12-wdocym[/ptiframe]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you Simon. Opps how did I miss that....

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Back on this one again. Got around to trying it out, but no joy. The original note came from the link below (which omitted Simons piece). 

 

http://jetpack.me/support/tiled-galleries/

 

When I defined it as 


global $content_width;
if ( ! isset( $content_width ) )
    $content_width = 1200;

It has no affect. I am assuming that I am having a problem with the pageslines customise setup in Framework. Any one able to suggestions? 

(the page I am working on is not public yet)

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