Jump to content

Archived

This topic is now archived and is closed to further replies.

sherman65616

Custom Section as a wordpress plugin

Recommended Posts

sherman65616

I finally have my custom section working, now I'm wanting to make it installable as a wordpress plugin. I have it packaged as a plugin and it installs but the section doesn't doesn't work. Is there any information on this? Thanks I'll attach the zip

Share this post


Link to post
Share on other sites
Danny

If you can upload the zip to a free file host we can take a look for you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Simon

rename ihammy.php to ihammy-plugin.php

 

It has to match the plugin folder name. It works fine then.

Share this post


Link to post
Share on other sites
sherman65616

The renaming of the file worked, Thanks!

Share this post


Link to post
Share on other sites

  • Similar Content

    • sherman65616
      By sherman65616
      I have a custom section I'm working on but it won't pick up the css file in the folder, the example shows below but what do i change the script to for a css script
        // This will load the 'cooljavascript.js' file from the current section folder wp_enqueue_script( 'my-js-plugin', $this->base_url.'/cooljavascript.js', array( 'jquery' ), PL_CORE_VERSION, true );
    • radm
      By radm
      Hi, there!
       
      Is it possible to create custom sections into which other sections (custom or not) may be dragged and dropped? And if so, how should I go about it?
       
      I'm sorry if I'm missing the obvious, but the docs and google did not provide a clear answer.
       
      Thanks in advance! 
×