*

BabyDunk

  • ****
  • 161 posts
Meta Options (advanced) - hidden on default
« on: June 19, 2016, 02:08:43 AM »
Hi Frosticek

is their away to keep this option closed until user opens it?

its just i want to move the attributes plugins up the page underneath the description but all hooks get moved as im sure you know but the Meta Options (advanced) just looks like to much information for that part of the page.

i know i can disable this from within plugin settings. ideally i want to keep it on the post and edit page but want its footprint minimal until user want to use it.


Thanks in Advance  :D
Chris
« Last Edit: June 20, 2016, 07:41:51 AM by frosticek »
I Am A Noob But I Am Here To Learn.
Please be patient ;) ;D

*

mixradu

  • ****
  • 171 posts
Re: Meta Options (advanced)
« Reply #1 on: June 19, 2016, 02:39:07 AM »
Edit the code and add a spoiler.
I think so, i am not a expert ! :D

*

BabyDunk

  • ****
  • 161 posts
Re: Meta Options (advanced)
« Reply #2 on: June 20, 2016, 01:48:44 AM »
i got it :D just needed to change the function of the script

from this
Code: [Select]
  $("#seo_table").hide();
to this
Code: [Select]
  $("#seo_table").show();
Cheers
Chris
I Am A Noob But I Am Here To Learn.
Please be patient ;) ;D

*

MB Themes

Re: Meta Options (advanced)
« Reply #3 on: June 20, 2016, 07:41:28 AM »
@aweegander
Right, but you also need to change in same file line:
Code: [Select]
<h2 id="show_hide_seo"><div id="ic" class="s-plus"></div><span><?php _e('Meta Options (advanced)''all_in_one') ; ?></span></h2>

Into:
Code: [Select]
<h2 id="show_hide_seo"><div id="ic" class="s-minus"></div><span><?php _e('Meta Options (advanced)''all_in_one') ; ?></span></h2>

(to get correct plus-minus sign)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

BabyDunk

  • ****
  • 161 posts
Re: Meta Options (advanced) - hidden on default
« Reply #4 on: June 21, 2016, 02:34:47 AM »
:D lol

its just as well as your here . my users would have been getting all confused lol ;)


Thanks Again Frosticek

Chris
I Am A Noob But I Am Here To Learn.
Please be patient ;) ;D