MySQL the right syntax to use near '' at line 1 error

hello i have a run a query using php it give error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line...

How to disable Quick Share in Alfresco Share?

I'm currently trying find out a way to disable system-wide the Quick Share functionality in Alfresco 4.2.b, or if it is not possible, at least remove quickshare links from both the documentlibrary...

custom inputformat for reading json in hadoop

i am a beginner of hadoop,i have been told to create a custom inputformat class to read json data,i have googled up and learnt how to create a custom inputformat class to read data from the...

Replace "Search" button in Wordpress with a Font Awesome font

Sorry if this is a stupid question. I am using Wordpress 4.0 with Bootstrap 3.0 and I have just included Font Awesome via the functions.php file. Everything is working fine (I've used the icons...

How can I get specific elements that are inside a div?

I am looking to extract a full div which I have been able to extract from the rest of the source code. From that div, I want all the html content as is, but without some of the child div...

create a ajax handled save action for theme options (sections)

I want to create a theme options page that will have sections. Those sections should be to be saved both one by one, and also all together. The WordPress default function for that will, regardless...

Make site responsive through CSS

Hello guys im having problem with my [website][1] i just updated it from wordpress 3.4.1 and i wanted to make it responsive using CSS because i've tried a lot of Responsive plugins but it didnt...

Ajaxify Wordpress site with Social Plugins

I installed the plugin "Ajaxify Wordpress Site" and I'm also using "Easy Social Share buttons". The ajax loads the older/newer page content great, without loading the rest of the page (see it on...

how to offset a CSS border up and left

We have a Wordpress sidebar designed like this: Note the grey border of the large white div is offset up and left (ignore the same effect on the image inside the white div please) - we want the...

Can't share my WordPress post with my image on Facebook

I have a problem sharing my posts on Facebook from my WordPress site. When I share it to Facebook I get some weird Japanese picture. I've checked solutions online but none of them worked for me....

Add some html and php codes bottom of wordpress post content

I want to add some html and php codes at the bottom of wordpress post content, I know that with this function code I can add some content at the bottom of post content:- add_filter(...

make elements responsive with CSS transform property

I have a site where there are diamonds fixed at the top of the page. Each diamond is a div box rotated and positioned using the CSS transform property. The diamonds are not responsive with the...

Google Oauth client was deleted. can I restore a new one?

We running a wordpress website use google oauth for third-party social login. (via WP Social Login plugin.) Former engineer is leave, and we cannot have past google account credential. We face a...

WORDPRESS CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

I'm getting the following problem on a site I'm developing: Access to font at...

How do I delete text between two characters in notepad++

I have sql file with Thousands of SQL inserts, like this: INSERT INTO `wpxl_posts` (`ID`, `post_author`, `post_date`, `post_content`, `post_title`, `post_status`, `post_name`, `post_modified`,...

How to Disable Single Product Page in WooCommerce

I am building an e-commerce site with Woocommerce 3.6.4 + Wordpress 5.2.2. I tried to disable the single product page of WooCommerce so that people can shop directly from my shop page. Tried: 1....

Customize wp-login.php Login Title

Let me start off by saying that I am not very well-versed with PHP so any help is much appreciated. Here is my issue. I have a social media site built on WordPress. It is restricted to registered...

Top align <td> in EDM template

Hoping someone can help me with a small problem I'm having modifying the code for an email template. The template contains <td>'s that when additional copy is added, they center align, but I can't...

Guest checkout creates account even when not requested

When a guest user checks out, and he doesn’t choose to create an account, the account is created all the same. Besides this, when the user tries to “register” his account with the email he...

Change BP Avatar through WP_REST_API

I’m currently extending the wp rest API to centralize everything and be able to move from an webapp to a real app (I litteraly only miss the Update and delete of the avatar + social login to...

Wordpress does add unwanted html tags to my code

I cant understand why wp adds some unwanted </p> tags to my lovely html. Do i miss something? Problem: It makes these empty </p> thus create a 3rem border on the bottom, of my bootstrap card,...

Safari iOS changing SVG fill gradient url

in the footer of my site I have social icons as SVGs that fill depending on screen size and hover state. One example is for instagram: HTML: <a...

Broken HTML Emails in Woocommerce

I'm using Woocommerce since today and have started the setup of our shop. Everything is working except for the emails. As you can see below they are fairly botched. The issue appears in...

Varnish not respecting pass to backend for specified http hosts

Running Varnish 6.0.6 in a Docker container for several Wordpress sites. I have several domains that I would like to pass to the backend verse having them cached, but the configuration is not...

PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array

I'm currently trying to get the ID from the code I've posted below. Array ( [0] => stdClass Object ( [extraData] => stdClass Object ( ...

Adding a calendar widget to HTML site

So I am currently designing and creating a one-paged bootstrap website. I am trying to add an event calendar to the website. However, whenever I insert it to the HTML code (see the code below), it...

Create a symlink inside a Lando instance

I'm running an instance of Wordpress locally (on Ubuntu) using an app called Lando (built on Docker). I'm developing a custom Wordpress plugin that I'd like to symlink into Wordpress within Lando...

Wordpress theme footer can't be customized

I can't customize footer on wordpress "colibri WP" theme or add any widgeds to it nor change copyright text. I tried to change the code in dashborard -> theme editor -> footer.php and this is the...

Change menu titles from h2 to h3 (woocommerce / wordpress)

I just launched my store on wordpress and I ran into a problem: When I am on the home page of the site, all my product titles are in H2 and should be in h3 (SEO reasons), my recommendation...

BeautifulSoup 4: AttributeError: NoneType has no attribute find_next

The project: for a list of meta-data of wordpress-plugins: - approx 50 plugins are of interest! but the challenge is: i want to fetch meta-data of all the existing plugins. What i subsequently...