[wp-trac] [WordPress Trac] #39602: Setting a page on front and blog pages means theme options go.

WordPress Trac noreply at wordpress.org
Mon Jan 16 20:55:42 UTC 2017


#39602: Setting a page on front and blog pages means theme options go.
---------------------------+------------------
 Reporter:  karmatosed     |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.8
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------

Comment (by laurelfulford):

 I’ve tested this as well - I’m seeing the same behaviour, but I think it
 may be correct. I do see why it would be confusing, though!

 The Theme Options panel will only appear when a page is previewed in the
 Customizer. It doesn’t show for single posts or the blog posts page --
 because of this, it will show and hide when you change the blog posts page
 under Static Front Page.

 In the video, the Customizer preview only shows the page that will be set
 as the blog posts page, before and after. If you try to recreate this
 issue with the preview on a different page than the one you assign as the
 blog posts page, the Customizer will change the preview to that page,
 causing the Theme Options panel to hide, too.

 In Pique's case, one of the controls under Theme Options doesn't use
 active_callback, so the panel is always visible. (It also looks like
 `is_front_page` for the front page panels, so the options for the static
 front page are also visible when you've set the front page to display
 latest posts).

 Just let me know if this doesn't make sense, or if I'm missing something!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39602#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list