Flexslider empty slide

I solved issue with putting integer to -1,don’t know really why this helped but if someone get same problem then maybe this will help to him. <?php $i = -1; if (have_posts() ) : while ( have_posts() ) : the_post(); if ($i%2 == 1) echo ‘</li><li>’; ?>

ReferenceError: dokan_assets_url is not defined

It’s a problem with dokan plugin. Adding the code below to your “functions.php” (in your theme directory) will solve the problem temporarily (I hope they fix this conflict in the newer versions): function dk_shortcode_script($shortcodes){ define(‘DOKAN_SHORTCODES’, $shortcodes); ?> <script> var dokan_assets_url = <?php echo json_encode( DOKAN_PRO_PLUGIN_ASSEST ) ?>; var dokan_shortcodes = <?php echo json_encode( DOKAN_SHORTCODES ) … Read more

Restoring a WordPress site

There are two main parts to WordPress: the code, and the database. (There is also the plugin and theme parts, but I am grouping them with the ‘code’, although themes and plugins store some of their information in the database.) You can recover the code by doing a fresh install of WP, although that won’t … Read more