WordPress Customise

The interstitial page on that website isn’t part of WordPress. It’s just an external page with some ads and a download link on it. You can easily do this by yourself. Create a php file named download.php on your server and add the following code to it: <html> <head> <meta http-equiv=”refresh” content=”5; url=<?php $_GET[‘url’];?>” /></head> … Read more

How do I fix the url when clicking on portfolio item?

You could do it with jQuery: jQuery(document).ready(function($) { $(‘a[href*=#]’).on(‘click’, function(event){ event.preventDefault(); }); }); Save that to a file (something.js) and upload it to your server. Then add the following to your functions.php (remember to set up a child theme if you aren’t using one): add_action( ‘wp_enqueue_scripts’, ‘prefix_load_scripts’ ); function prefix_load_scripts() { wp_register_script( ‘something’, get_stylesheet_directory_uri() . … Read more

Custom Search only for my Custom Taxonomy Page – data

You can try modifying your query using pre_get_posts filter. function mod_query() { if ($query->is_main_query() && !is_admin() && is_search()) { // test print queried search terms print_r( $query->query_vars[‘s’] ); $search_terms = $query->query_vars[‘s’]; $search_terms = preg_replace(‘/\s+/’, ‘+’, $search_terms); // test print after replacing spaces with + print_r( $query->query_vars[‘s’] ); // if all going well you can change … Read more

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