Fatal error with wp-livechat plugin

The problem is that the plugin uses a function available in WordPress 4.4 and you probably have a lower version. Now to get you out of trouble, you could use FTP to reach your site’s files, navigate to wp-content/plugins/ and rename the directory of the troublesome plugin. This would force it to be deactivated. Now … Read more

Different style for first two (sticky) posts

I think you should add a css class and in your loop, put a $i and let $i run, if $i == 2 then you add the css class attribute to that sticky post. $i = 0; while( have_posts() ): the_post(); $i++; if($i == 2): $css_class=”top-sticky”; else: $css_class=””; endif; endwhile; wp_reset_postdata();

Show Taxonomy Child Terms (name and image) on Parent Term Page

You can try this. $parent_terms = get_terms( array( ‘taxonomy’ => ‘post_tag’, ‘hide_empty’ => false, ) ); foreach ( $parent_terms as $terms) { $term = get_terms(array( ‘taxonomy’ => ‘post_tag’, ‘hide_empty’ => false, ‘parent’ => $terms->term_id ) ); foreach ($term as $term_child){ $string .= ‘<li><a href=”‘ . get_term_link( $term_child->term_id ) . ‘”>’ . $term_child->name . ‘</a></li>’; } … Read more

Displaying categories

get_the_category_list works on The Loop only and needs a post_id as a parameter. As a page does not have category, it won’t work by default in a page. If you want to retrieve all the categories on a page, you should use one of the following: wp_list_categories get_categories( array( ‘echo’ => false ) );

Adding shortcode [closed]

Short codes are designed to be used by people without needing to code or access php files. Simply put that code in a post or page content. (add new post, edit post, and new page, edit page, etc. Save the post / page. and then the shortcode does it’s “magic” of creating the gallery on … Read more