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

how do i remove plusone js from WP? [closed]

http://apis.google.com/js/plusone.js is not a script that a default WordPress install tries to load. It’s likely coming from your theme or a plugin that adds social sharing buttons to your site. Try disabling all plugins to see if the warning still occurs. Then, re-activate each plugin one by one to find the culprit.

Query posts only shows 1

OK this is the thing: I used a query $args = array( ‘post__in’ => array($userPostsInternal), Taking the fact the following is a string var_dump($userPostsInternal); -> string(13) “128537,128545” I thought declaring the array here would work array($userPostsInternal) But it’s not, therefore thanks to a comment, suggesting me to explode $userPostsInternal converting the string into an array, … Read more

how to use transient method?

First, you don’t need a raw SQL query, and by using one you give up all of WP’s optimisations. For example, if you run the query twice, it runs twice. If you had used WP_Query to getch those posts though, it would save them the first time to avoid making additional queries. It’s even possible … Read more

Carousel slider with WP_Query to show 3 posts on each slide

Despite your question is a generic PHP programming problem, what you’re trying to do can be achieved like so, where the key is the $i which is a custom while counter: <div class=”carousel-inner” role=”listbox”> <?php if ( $popular_services->have_posts() ) : $i = 0; // add this counter while ( $popular_services->have_posts() ) : $popular_services->the_post(); ?> <?php … Read more

Renaming or Moving WP-Content Pros/Cons

I always recommend installing WordPress manually yourself. Some companies will insert a link crediting the hosting provider for the install. In the past, I’ve experienced 1-click installations that are not running the latest version of WordPress. In terms of migrating your website, you should follow this guide: http://codex.wordpress.org/Moving_WordPress. Smashing Magazine also provide an easy tutorial: … Read more

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