How to add thumbnails from recent posts to owl-carousel in wordpress automatically?

I can’t see your site. However, based on the code you added, you could try something like this: css: .owl-controls .owl-pagination .owl-page span{ height: 50px; width:50px; background-size: cover; background-position: center;} JS: $(‘.owl-controls .owl-pagination .owl-page’).each(function(index, value){ $(this).children(‘span’).css(‘background-image’, “url(‘”+$(‘.owl-carousel .owl-wrapper .item’).eq(index).find(‘img’).attr(‘src’)+”‘)”); }); Here is a working example: http://codepen.io/BertoMejia/pen/LRLRBg

Open popup automatically when navigate to the page id

What you can do is on document ready you can check your url and based on if #contact is there on not, show popup. Something like: jQuery(document).ready(function () { var type = window.location.hash.substr(1); if(type == ‘contact’){ //show popup } } Note: Check for syntax. Code not tested or tried.

Add Alt attribute to image served with php

just add it in… <div class=”bd-layoutcolumn-20 bd-column” ><div class=”bd-vertical-align-wrapper”> <img alt =”my alt tag” class=”bd-imagelink-3 bd-imagestyles ” src=”https://wordpress.stackexchange.com/questions/244847/<?php echo theme_get_image_path (“images/b56392d722ada5890c6d2f29f1dbde4a_logo.jpg’); ?>”> if you’re going to make it dynamic you’ll need to add the php. Something like this if you’re in a loop: <div class=”bd-layoutcolumn-20 bd-column” ><div class=”bd-vertical-align-wrapper”> <img alt =”<?php echo get_the_title();?>” class=”bd-imagelink-3 bd-imagestyles … Read more

How would I add this code to a single WordPress page?

function bettingModuleFunction(){ // your content }; add_shortcode( ‘print_betting_module’, ‘bettingModuleFunction’ ); Put this in your functions.php and you can call the content using [print_betting_module] shortcode. If you need to call this shortcode inside a file use: echo do_shortcode(‘[print_betting_module]’); If you need to use your shortcode inside widgets put this in functions.php add_filter( ‘widget_text’, ‘do_shortcode’ );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)