Viewing 6 reply threads
  • Author
    Posts
    • #4129
      sharpie
      Member

      I’ve been playing with Piklist while I try to understand it and so far created a plugin that does nothing – but does at least activate without any errors, which is a major success so far.

      I found the in the user area, the data is being pulled from both the plugin that I have created and a folder in the theme ‘piklist’.

      My question is once I have some of the structure set up for the plugin, that pretty much reflects the element in the theme folder, should I completely remove this file?

      At the moment I am using it for reference as I only have brief moments to dip in and play.

      This is the folder that Piklist created on activation in my theme: wp-content/themes/striking_r/piklist/

    • #4132
      Steve
      Keymaster

      @sharpie

      You need to decide where you want your code to go… in your theme, or in a plugin. Usually you want it in a plugin, so it’s portable and you can then use any theme.

      Does that makes sense?

    • #4134
      sharpie
      Member

      So it is ok to delete the folder it created on install within the theme?

    • #4135
      Steve
      Keymaster

      Piklist doesn’t create folders, you must have created it during the tutorial. What is in your wp-content/themes/striking_r/piklist/ folder?

    • #4137
      sharpie
      Member

      Basically a complete piklist. Hey I don’t recall doing so but may well have done, I thought the code I copied was the demo stuff to an earlier attempt at a plugin which didn’t work, will have been my error somewhere.

      In that case I will copy the contents to the plugin I created and remove it from the theme, I can then edit/remove parts in there.

      Thanks Steve, I will get there with this – eventually!

    • #4138
      Steve
      Keymaster

      Let us know if you need help. Always happy to assist!

    • #4158
      Steve
      Keymaster

      Closing this ticket. Let us know if you need any more help.

Viewing 6 reply threads
  • The topic ‘Theme vs Plugin (delete or keep)’ is closed to new replies.