• What exactly does this do? it seems all themes require to set this variable like this

    if ( ! isset( $content_width ) )
    	$content_width = 600;

    I am creating a theme, where in the options panel, people can disable sidebar. If the sidebar is off, the theme shows posts and pages full width (1000px) else 700px with sidebar.

    How do i set $content_width accordingly to this?

Viewing 1 replies (of 1 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    That variable is used in Distraction Free Writing mode. I believe it is also for media related usage. If you check out how 2013 and 2014 change that it may help you out a little.

Viewing 1 replies (of 1 total)
  • The topic ‘$content_width ??’ is closed to new replies.