Speed of the slider images should be increased in wordpress

Note: This is only a quick fix and not a permanent solution (i.e. a theme update might reset these changes). The enlightment theme uses a slider called “flexslider”. To alter the speed you can go into the flexslider javascript-file and change the slideshowSpeed parameter. In your theme folder, navigate to the file “jquery.flexslider.js”. It is … Read more

WordPress shortcode doesn’t working on HomePage

Depending on what post editor you are using: Classic – make sure to switch the editor to “Text” instead of “Visual”. The latter will output anything you write in a form of text, while the first one will process the shortcode. Gutenberg – find a plus sign in the top-left area of your WordPress dashboard … Read more

WP Multisite Static Frontpage

I would recommend waiting until WordPress 3.4 is released. Among other features, it is slated to include the ability to allow Themes to define/declare a static front page. I believe this functionality should suit your needs. (Note: as of today, WordPress 3.4 just hit Beta 1, and is scheduled for final release in May.)

display woocommerce all category title on home page

<?php $post_type=”product”; $taxonomies = get_object_taxonomies((object) array( ‘post_type’ => $post_type )); foreach ($taxonomies as $taxonomy) : $terms = get_terms($taxonomy); foreach ($terms as $term) : $term_link = get_term_link($term->term_id); $posts = new WP_Query( “taxonomy=$taxonomy&term=$term->slug&posts_per_page=2″ ); ?> <li> <h2> <a href=”https://wordpress.stackexchange.com/questions/218036/<?php echo $term_link; ?>”><?php echo $term->name; ?></a> </h2> <?php if( $posts->have_posts() ): while( $posts->have_posts() ) : $posts->the_post(); ?> <div> … Read more

front end publishing not working on front-end page

thanks to @TheDeadMedic, I found the solution. I used reserved terms, and that’s why WordPress interpreted my inputs as query parameters. so for example with my categorys, I had to change my classes in my form : ‘post_category’ => array($_POST[‘cat’]), // Usable for custom taxonomies too by ‘post_category’ => array($_POST[‘my_cat’]), // Usable for custom taxonomies … Read more

https multiple redirects

This is somewhat of a guess, but it is probably a result of the web server configuration. What your server probably does is to see that the request want to load the blog url of the site. It checks out and sees that blog is a directory adds a slash and redirects to it. Now … Read more

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