WordPress.org

Forums

Featured Posts Grid
fpg.css.php not fpg.css (3 posts)

  1. phillbooth
    Member
    Posted 2 years ago #

    Some how the custom css is generating correctly, it remains fpg.css.php not fpg.css I have tried chmod, any suggestions.

    Thanks

    http://wordpress.org/extend/plugins/featured-posts-grid/

  2. Chaser324
    Member
    Plugin Author

    Posted 2 years ago #

    This is very dependent on server setup, so it's difficult for me to know exactly why the static file can't be created.

  3. phillbooth
    Member
    Posted 2 years ago #

    What I would recommend is just using the .php page and registering this as a style sheet using the WP hook.

    http://codex.wordpress.org/Function_Reference/wp_enqueue_style
    So...

    css.php would be

    #foo {
    background-color:<?php echo $mycolor; ?>;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Posts Grid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.