Cloning a website via wget

Technically, a WGET can be used to download a site’s page(s) to your local machine. Then, you could theoretically upload those files to your own web server, and the results will look like the original site. But only as the site existed when you WGET’d the individual pages. WordPress stores all site content in a … Read more

query using wpdb in wordpress gets me no result

First of all, you escape that query incorrectly… You should use esc_like on the like part and prepare should be used a little bit different: $title1 = ‘Gocomma 10W QI Wireless Fast Charger Car Mount Holder – 2pcs (it)’; $sql = $wpdb->prepare( “SELECT * FROM {$wpdb->posts} WHERE post_title LIKE %s AND post_status=”publish””, ‘%’ . $wpdb->esc_like($title1) … Read more

Tagline showing instead of meta description!

Currently you have two meta description tags on your site. If you view the source or use an inspector, you can see the duplicates for yourself. As to where they’re coming from, there are two possibilities. Themes and plugins can both output the final rendered code of your site. So, to figure out where the … Read more

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

Clear white line off page [closed]

In your theme customization (Appearance > Customize) add the following CSS to the CSS-section: .spb_parallax_asset { margin-top: 0; } It should do the trick. And if you wanna remove the remaining 1px of line – add this just below the code above: .spb_parallax_asset { border: 0; } Hope it’s what you’re looking for 🙂