WordPress.org

Ready to get started?Download WordPress

Forums

Atahualpa
Custom PHP inserts? (10 posts)

  1. Jacob D
    Member
    Posted 2 years ago #

    Greetings all.

    I have been on Atahualpa 3.4.9 forever. I recall that around 3.6.x there was some change to WordPress that no longer allows for custom PHP inserts through the theme.

    I would like to move to a more modern version of Atahualpa and I'm just wondering if there have been any workarounds or other developments related to this?

    Can anyone tell me what the last version of Ata that still allowed PHP inserts was?

    http://wordpress.org/extend/themes/atahualpa/

  2. Jacob D
    Member
    Posted 2 years ago #

    I just installed 3.7.1 and behold the answer is there waiting for me when I activated the theme.

    No PHP inserts since 3.6.5. The loop code is now hard coded into index.php (in case anyone else was wondering the same as me)

  3. juggledad
    Member
    Posted 2 years ago #

    The ability to have php in the theme options was removed due to WordPress restricting themes from using the eval() function.

  4. lmilesw
    Member
    Posted 2 years ago #

    You can in some cases add a new widget area and use a widget that allows php code.

  5. FreedomVentures
    Member
    Posted 2 years ago #

    So, how do we do rounded corners in the Center Column now?

  6. lmilesw
    Member
    Posted 2 years ago #

    You can still use CSS. Just not most php.

  7. FreedomVentures
    Member
    Posted 2 years ago #

    So, I could do a code insert into the Stylesheet.css? Is there an example of how that's been done?

  8. lmilesw
    Member
    Posted 2 years ago #

    You would put CSS in the CSS Inserts section of the theme oprions.

  9. FreedomVentures
    Member
    Posted 2 years ago #

    @lmilesw:

    Yes, I see that section of the Atahualpa Options, however I'm missing some information, it seems.

    What I'd like to add is:

    { -webkit-border-top-right-radius: 27px; }
    { -moz-border-top-right-radius: 27px; }
    { border-top-right-radius: 27px; }

    However...for only a portion of the page - say the Center Column. I suppose it could also be used for the whole Body, but I'm specifically interested in styling the top right (and eventually bottom left) corners of the Center Column.

    Just putting the above code intoe the CSS Inserts isn't going to accomplish what I want to do...what element should I modify - center-column, .center_column??

    Thanks!

  10. lmilesw
    Member
    Posted 2 years ago #

    That's where I use Firebug with Firefox. It can help you determine the selector.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags