Options.php loop won’t show!
I don’t see your theme_options function being called anywhere.
I don’t see your theme_options function being called anywhere.
It is really hard to say without being able to look at your theme files directly. But you are most likely going to have to put <div id=”hbz_outer_container” style=”position: relative;”> <div id=”hbz_drop_shadow”> somewhere in your header.php and then put the closing tags: </div><!– hbz_drop_shadow –> </div><!– hbz_outer_container –> in your footer.php header.php and footer.php should … Read more
You can call the function in any template file in your theme folder.
Lead dev of Redux here. You sure can! Just be sure to specify a different opt_name as well as a different page_slug and you’re golden. Redux was built to do just that.
Have a look into set_theme_mod(): Creates or updates a modification setting for the current theme and get_theme_mod(): Retrieves a modification setting for the current theme With this you should be able to get the logo: $custom_logo_id = get_theme_mod( ‘custom_logo’ ); $logo = wp_get_attachment_image( $custom_logo_id, ‘full’ ); This would set the attachment 12 as the logo … Read more
As mentioned, you should never modify the code of a theme. You should always create a Child Theme that uses that theme. Info about Child Themes – start here https://developer.wordpress.org/themes/advanced-topics/child-themes/ Whenever a theme is updated by the theme author, it overwrites all of the theme code, including the changes you have made to the code. … Read more
Since you are likely developing this and you don’t have any posts associated with the season taxonomy, you will not get any terms returned with get_terms(‘season’);’ unless you specify the parameterhide_emptyto be0`. I would change the code thusly: /** Seasons */ $args = array( ‘hide_empty’ => ‘0’ ); $season_terms = get_terms(‘season’, $args); $season_tax = array(); … Read more
Your theme calls these “Teasers,” and they are set by using shortcodes on your home page. More info can be found on your theme’s online documentation.
I think you are not using customizer.php settings to add them and this can cause complications. So what you want to do is create a customizer.php in your themes root folder. There you need to define different levels where you want the settings to be displayed and how they are defined. (more about this later). … Read more
Yes! I’ve used WordPress to create many large sites, that are by no means blogs. Sometimes the structure that WordPress uses, with the custom posts + taxonomies, etc., actually makes things much easier than many PHP frameworks. There seems to be a big discussion in the PHP community as to whether WordPress should be used … Read more