Links open when scrolling on touch devices/mobile

I could confirm on your shared site that some javascript code is causing this issue. This code may be generated by plugins used on your site so please try temporary deactivating all plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is generating it if … Read more

Image linking and lightbox

So, the problem is that on Expositio theme they are adding some jQuery code to all links, that if you’re not closing the mobile menu, after a configurable number of seconds (1 second by default) just redirect site to the link url. If you go to line 260 of js/functions.js you find this: $(‘a’).on(‘click’, function(e) … Read more

Open the_author_link() in a new window

Yes, you have to get the url by user’s meta: <?php if ( get_the_author_meta(‘url’) ) { // Author has website url $author_url = get_the_author_meta(‘url’); } else { // Author doesn’t have website url, so get Author Posts Page $author_url = get_author_posts_url( get_the_author_meta(‘ID’) ); } ?> <a href=”https://wordpress.stackexchange.com/questions/273597/<?php echo $author_url; ?>” target=”_blank”>Author’s website</a>

Multisite – Display different header content based on which site is accessed

You can use options to customize this for every site. Options are stored separately for each site. So, inside your header you can do something like <?php $login_link = get_option(“worduoso_login_link”); $login_text = get_option(“worduoso_login_text”); ?> and then print it like this <?php if($login_link && $login_text): ?> <div class=”added-header”><a href=”https://wordpress.stackexchange.com/questions/273810/<?php echo $login_link; ?>”><?php echo $login_text; ?></a></div><?php endif; … Read more

Parent link need to go first child submenu

I found solution here Create template for parent pages: <?php /* Template Name: Redirect To First Child */ if ( have_posts() ) { while ( have_posts() ) { the_post(); $pagekids = get_pages( “child_of=” . $post->ID . “&sort_column=menu_order” ); $firstchild = $pagekids[0]; wp_redirect( get_permalink( $firstchild->ID ) ); } } ?>

Remove link function from oembed image or video

WordPress has very limited control over the embedded content. When you put URL to YouTube video (for instance), WordPress calls the oEmbed URL for that service (YouTube in this case), and YouTube returns the complete HTML for embedding the content. That can be a different thing, including IFRAME, and each service has own oEmbed content … Read more

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