wordpress plugins

Discussion Of Everything Legal Is Good
Abby
Posts: 247
Joined: July 13th, 2018, 10:04 pm

wordpress plugins

Post by Abby » March 15th, 2021, 9:28 am

have you noticed when you add a plugin to your wordpress blog in some cases it shows up as it's own folder and in other cases it is listed under "Settings" why is that.



User avatar
fantastico
Posts: 536
Joined: March 5th, 2018, 6:24 pm

Post by fantastico » March 15th, 2021, 7:50 pm

See it all the time but not sure why it happens that way



Colmike7
Posts: 1150
Joined: May 23rd, 2018, 12:21 pm

Post by Colmike7 » March 15th, 2021, 11:19 pm

Different code. Like, adding in settings would be add_options_page(), and making it it's own menu would use add_menu_page() along with more code and add_submenu_page() to make more option pages using the same slug as set in add_menu_page.



Jag
Posts: 2201
Joined: February 15th, 2018, 9:51 am
Referrals: 1

Post by Jag » March 16th, 2021, 9:01 am

Colmike7 wrote:
March 15th, 2021, 11:19 pm
Different code. Like, adding in settings would be add_options_page(), and making it it's own menu would use add_menu_page() along with more code and add_submenu_page() to make more option pages using the same slug as set in add_menu_page.
I think she is asking why they use the 2 different codes, ( I think that is her question).


From Malta with love and sunshine

Colmike7
Posts: 1150
Joined: May 23rd, 2018, 12:21 pm

Post by Colmike7 » March 16th, 2021, 12:46 pm

Jag wrote:
March 16th, 2021, 9:01 am
Colmike7 wrote:
March 15th, 2021, 11:19 pm
Different code. Like, adding in settings would be add_options_page(), and making it it's own menu would use add_menu_page() along with more code and add_submenu_page() to make more option pages using the same slug as set in add_menu_page.
I think she is asking why they use the 2 different codes, ( I think that is her question).
I'm not positive, but I think add_options_page() (the one where the options are under settings) came first, then they added add_menu_page() to make top level menu items in the dashboard, then they just kept them both.



urbanlegend
Posts: 487
Joined: March 23rd, 2018, 10:13 am

Post by urbanlegend » March 17th, 2021, 8:47 am

I prefer them on their own not in settings



greatpornlinks
Posts: 568
Joined: June 14th, 2018, 6:51 pm
Location: LA

Post by greatpornlinks » March 18th, 2021, 7:59 am

WP can always tell developers to stick to one format, see if they listen to them.



User avatar
GRXlinks
Posts: 299
Joined: April 2nd, 2018, 8:07 am

Post by GRXlinks » March 19th, 2021, 7:56 am

It does not matter to me where they appear in the admin



User avatar
HeidiHoe
Posts: 1065
Joined: February 3rd, 2018, 12:20 pm
Location: Ohio, USA
Contact:

Post by HeidiHoe » March 19th, 2021, 4:45 pm

GRXlinks wrote:
March 19th, 2021, 7:56 am
It does not matter to me where they appear in the admin
Not like the user has any say in this. I like it when it's tucked away in the settings or tools folder unless the plugin menu contains multiple pages. I hate having things cluttered up with unnecessary menus, icons and BS.



Colmike7
Posts: 1150
Joined: May 23rd, 2018, 12:21 pm

Post by Colmike7 » March 19th, 2021, 4:52 pm

HeidiHoe wrote:
March 19th, 2021, 4:45 pm
GRXlinks wrote:
March 19th, 2021, 7:56 am
It does not matter to me where they appear in the admin
Not like the user has any say in this. I like it when it's tucked away in the settings or tools folder unless the plugin menu contains multiple pages. I hate having things cluttered up with unnecessary menus, icons and BS.
Same, most of the time after I set up a plugin, I never have to go back to settings for anything, so tucked away is nice.
Also, a lot of my blogs use custom post types, which have their own menu, and that can get cluttered when other plugin settings are mixed in.

If the user really wants to, though, they could move where the plugin menus is, or even make new settings lol



User avatar
shoopa
Posts: 682
Joined: February 26th, 2018, 7:32 pm

Post by shoopa » March 20th, 2021, 6:49 am

Colmike7 wrote:
March 19th, 2021, 4:52 pm

Same, most of the time after I set up a plugin, I never have to go back to settings for anything, so tucked away is nice.




Me 2



DeSexGuide
Posts: 794
Joined: May 4th, 2018, 6:51 pm
Location: LosAngeles

Post by DeSexGuide » March 21st, 2021, 8:21 am

My choice is they are all in "Settings" out of the way but it is not that big a deal.



User avatar
pussyhunter
Posts: 503
Joined: July 13th, 2018, 3:40 am

Post by pussyhunter » March 24th, 2021, 9:42 am

On average how many plugins do you peeps have per blog?



JamesNet
Posts: 169
Joined: April 20th, 2018, 11:02 am

Post by JamesNet » March 25th, 2021, 8:31 am

pussyhunter wrote:
March 24th, 2021, 9:42 am
On average how many plugins do you peeps have per blog?
from 5 to 12 depends on the bog



User avatar
vblogger
Posts: 855
Joined: February 17th, 2018, 2:48 pm

Post by vblogger » March 26th, 2021, 7:47 am

pussyhunter wrote:
March 24th, 2021, 9:42 am
On average how many plugins do you peeps have per blog?
Delete any unused plugins they an be hacked



wordpress plugins

Post Reply