Images use & location, on new wordpress theme

use this code and rename index.html to index.php. <img src=”https://wordpress.stackexchange.com/questions/244087/<?php bloginfo(“template_directory’); ?>/img/Logos-crear.png”> <object> <embed src=”https://wordpress.stackexchange.com/questions/244087/<?php bloginfo(“template_directory’); ?>/img/icons/twitter.svg”> that should work fine.no need to change in css code.

Font not loading [closed]

I wanted more info about this but i can’t comment here because i don’t have enough reputation, i may have a solution for you. First, your font flexslider-icon works, but your media queries hide it on screen with more than 860px. On screens more than 860px arrows become transparent and move out of slider. Here … Read more

Add multiple sections, settings and controls at once to the Customizer

I suppose you didn’t pass $wp_customize properly. I’d do this: Create a setting e.x. section_number which determine user’s choice Put the code to the customizer.php customizer.php add_action(‘customize_register’, ‘my_customizer’); function my_customizer($wp_customize){ $section_number = get_theme_mod(‘section_number’, 0); for($i = 0; $i <= $section_number; $i++) { $wp_customize->add_section( ‘slider_’.$i, array( ‘title’ => __( ‘Slider ‘.$slider, ‘Kraftzwerg’ ), ‘capability’ => ‘edit_theme_options’, … Read more

HTML to → WP Conversion

Replace the “Main Content” block in index.php with the following. This way you do not need a content.php file and can query the posts right in index.php. The Next/Previous post navigation will be functional as-well. <!– Main Content –> <div class=”container”> <div class=”row”> <div class=”col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1″> <?php // Start the loop. while ( … Read more

How does mediaelement.js work in WordPress?

WordPress core handles the enqueuing of the MediaElement.js scripts and styles automatically when the shortcode is used: From wp_video_shortcode()… /** * Filters the media library used for the video shortcode. * * @since 3.6.0 * * @param string $library Media library used for the video shortcode. */ $library = apply_filters( ‘wp_video_shortcode_library’, ‘mediaelement’ ); if ( … Read more