- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by
Steve.
-
AuthorPosts
-
-
December 8, 2018 at 6:47 pm #9243
courtens
ParticipantIs it normal for an update to dump all the code inside the plugin folder (wp-content\plugins\piklist\add-ons)?
All my code is now gone. This is really bad, or am I missing something?
There was no warning or “backup plugin folder prior to install” prompt during auto-update.
Is there I copy of the prior version somewhere?
-
December 10, 2018 at 12:43 pm #9244
-
December 10, 2018 at 2:21 pm #9247
courtens
ParticipantThank you @Steve. I did find a backup of the code. I got it back in place and working again.
But now I am worried that I have the code in a wrong place. (I only use it inside the administration section of WP – would I still need to move it to another folder?)
For right now the code is inside a folder named “blogs” in wp-content\plugins\piklist\add-ons (sitting right next to “piklist-demos”)
blogs.php is:
/* Plugin Name: Blogs Text Domain: blogs Description: Used to control Taxonomies for Blogs. Text Domain: blogs Domain Path: /blogs */
To me Step 1 in Register your plugin with Piklist is not clearly specifying where to create the folder.
Thanks again for helping!
-
December 10, 2018 at 2:28 pm #9248
Steve
KeymasterYou need to create your own plugin:
1) Create this folder:wp-content\plugins\blogs
2) Moveblogs.php
to this folder
3) Include the file header code listed here inmy-piklist-plugin.php
4) Move any other code fromblogs
over to this folder.Let me know if you have any other questions.
-
-
AuthorPosts
- You must be logged in to reply to this topic.