Error establishing a database connection

Stack Overflow

I’m moving a wordpress site from localhost to server. Xml file Exported from Localhost and imported to server site using plagin WordPress Importer. File ‘wp-content\uploads’ updated using FTP. I …

tagged: php, wordpress, ftp Jan 22 at 12:33
Stack Overflow

I would like to offset the my homepage posts by 5. I have a widget at the top that shows the first 5 already. I use this in my functions.php to get the offset. and it works. the problem is the …

tagged: php, wordpress, wordpress-theming Jan 22 at 4:50
Stack Overflow

I would like to shuffle specific DIVs (based on class) around on each page load. Note i’m using a WordPress Theme and as such, do not have full control over HTML structure without changing base …

tagged: javascript, jquery, html, wordpress Jan 22 at 10:08
Stack Overflow

In WooCommerce backend, I know that you can remove the Product tabs globally with some code on functions.php. But I only want to remove for the user back end. I’m using a multivendor plugin. How do …

tagged: php, wordpress, tabs, woocommerce, products Jan 21 at 23:15
Stack Overflow

I want to change read more button style by adding hover. I tried some ccs codes like: a:hover{ background-color: #077fad; color: #ffffff; } or div.blmore.rmbutton-center.rmbutton-medium:hover{ …

tagged: html, css, wordpress Jan 22 at 11:43
Stack Overflow

I have this blog and I’ve looking around the way to change my image path but nothing really works for me. This is the URL where my image will display:http://localhost/blog/article1/ inside is …

tagged: wordpress, image, .htaccess Jan 22 at 8:08
Stack Overflow

I’m using a plugin called Super Socializer which allows users to sign in using Twitter and Facebook. I would like to replace the social login icons with HTML text. I’m new to working with filters in …

tagged: wordpress, plugins, filter Jan 21 at 21:15
Stack Overflow

I’m using the following query/code for a custom WordPress search-plugin. add_filter( ‘posts_where’, ‘title_like_posts_where’, 10, 2 ); function title_like_posts_where( $where, &$wp_query ) { …

tagged: wordpress, search Jan 22 at 15:00
Stack Overflow

Hi i m trying to just show posts when i click the button and just dont get what m i missing. function load_more_ar(post_id){ jQuery(“#loading-animation”).show(); var ajaxurl = ‘<?php echo …

tagged: php, ajax, wordpress Jan 22 at 10:05
Stack Overflow

I have setup a staging environment within GTM and embedded the GTM code snippet on my staging site. When I use something like the Duplicator WP plugin to copy the staging site to live, the staging GTM …

tagged: wordpress, google-tag-manager, staging Jan 21 at 16:57
Stack Overflow

For a social network on WordPress. I created a file upload button located in the slide menu and I would like to connect it to the profile photo upload box. I’m very new to code but I am very eager to …

tagged: wordpress, upload, user-profile Jan 21 at 21:08
Stack Overflow

I created a multi-language presentation site using polylang plugin. I am very happy with this plugin, except the way it handles the search form. When i try to search anything, the menu disappears and …

tagged: wordpress, search, multilingual, search-form, polylang Jan 22 at 7:48
Stack Overflow

I Have this script below that suppose to get values from input fields and then add them in a href link. but i keep getting this error in console: Uncaught Error: Syntax error, unrecognized …

tagged: jquery, wordpress, woocommerce Jan 22 at 6:47
Stack Overflow

I’m looking to create “invitation codes” using woocommerce smart coupons. To do so I want specific products to REQUIRE a coupon code at cart/ checkout. I have seen ways to to do this however they …

tagged: php, wordpress, woocommerce, categories, coupon Jan 21 at 18:37
Stack Overflow

There are many rating plugins for WordPress. But is there a plugin that allows ratings (1 to 5 stars) by the admin or an author only? I’d like to rate my own posts from 1 to 5, as a means to find …

tagged: wordpress, plugins, admin, rating, rates Jan 22 at 15:55
Stack Overflow

I dont know why but, my content div has all of its “content” under the footer,in an empty html area. The shell of the div is there but not what is inside. Any Answers? Here’s the link: http://…

tagged: html, css, wordpress, css-position Jan 21 at 16:19
Stack Overflow

I recently upgraded my VPS to Easy Apache 4 following CPanel’s documentation. The upgrade itself went as expected, and the server is functioning correctly. I am hosting two WordPress sites on this …

tagged: php, wordpress, redis Jan 21 at 21:42
Stack Overflow

I created plugin which uses WooCommerce fragments for showing to user how many points they have. When user uses some of the points (by adding product into cart) everything works ok. But when admin …

tagged: php, wordpress, woocommerce Jan 21 at 17:33
Stack Overflow

We have hosted web apps in standard pricing mode of azure accounts. Apps are getting down continuously for sometimes and automatically recovers back. This Error message ” Error establishing a …

tagged: wordpress, azure Jan 22 at 14:31
Stack Overflow

I am using a free version. Have created 6 different membership level. I set the testing only mode and environment to live. When I fill all the details and submit to register my membership I gett an …