Moving code in functions to a plugin

Community Forums Forums General Discussion Moving code in functions to a plugin

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  essaysnark 4 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105551

    2TechGirls
    Participant
    Post count: 12

    I’m trying to make it easier to switch themes on a demo site. I created a simple plugin and attempted to load two functions that call the frame work

    add_action( 'widgets_init', 'genesischild_extra_widgets' );
    add_action('genesis_footer','genesischild_footer_widget');

    The functions called are in the plugin also. It does not work and i suspect it is due to dependencies. What do i need to load and how should i load it for this code to work the way i’d like it to?

    #105557

    essaysnark
    Participant
    Post count: 342

    This post might be a good place to start:

    http://designsbynickthegeek.com/tutorials/your-first-plugin

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.