I am trying to set a background image for my wordpress website. .content:before { content: “”; background-image: url(“gfx/SevenWonders.jpg”); /*background: #fff;*/ background-size:600px 700px; …
i was trying a way to close all opened side navigation menu items when another is opened in the WordPress website. i tried various javascript solutions that i found in the StackOverflow forum couldn’t …
I wrote archive template cor custom post type with custom taxonomy. It works on my home PC with xampp php 5.5 But its not working on Apache with php 7 (my office pc). I searched a lot in the …
So basically I’m trying to make my first plugin in WordPress, and not very familiar with PHP. I want my PHP script to print out a zero, and three buttons, where one adds two to the number, one adds …
I have duplicated my site using the duplicator plugin from wordpress.org. However, when I wanted to run this on a new hosing service, first I encountered a 504 gateway timeout error. Therefore, I …
I am working in WordPress and have an existing default css style set for my ol and li that I can not change. I need to create a 3-level ordered list (styled) using classes and can’t figure out how …
I created a custom field with the “advanced-custom-fields” plugin. Now I want to get and output the custom field in 4 column. for example i import: aaa bbb ccc ddd but show these in 3 column in …
I got my self into a bit of a pickle where I have a custom user role “librarian” and I would like to hide all pages from admin except the “library” page, so the librarian be able to edit this one …
I have a script that creates posts using wp_insert_post(). Every day the script creates 12 posts, and the posts have the same names. This is the code used: require_once( ABSPATH . ‘wp-admin/…
Summary: when I hit the “save changes” that variations value changes to “any variation…” and I am not able to change it back. My config: I have updated wordpress to 4.7.4 and WooCommerce to 3.0.4. …
I’m using WPAS (WordPress Advanced Search) and i’d like to search by tag_id name and not slug. My wp-admin link look like: wp-admin/term.php?taxonomy=leasing-auto&tag_ID=3&post_type=…
I created this small script to create wordpres posts, using Basic Auth, and it works. The problem is when I try to assign multiple categories to a post. The reference is pretty vague. It says that …
I’m trying to ‘copy’ the Refund process/function on frontend. My goal is to let our Store Managers to handle refunds aside from us, admins. The Store Managers have similar privileges with the admins …
I want to display translation menu with no flags and no titles. Something like this: EN | IT When i click on “EN” the URL goes to english version and when i click on “IT” goes to italian version. …
I have two problems but I think they’re related. Subdirectories like /wp-admin, /blog return 404, consequently, permalinks do not work as they follow /blog/category1/page.php My setup: I have a …
I am using WordPress, and in MySQL database i have meta_values for meta_key=first_name and meta_key=last_name. Now i want to create in MySQL database a meta_key=full_name I have tried different …
I recently needed a way to get the ID of a WordPress image attachment, but I only had the image URL to work with. The problem was complicated by the fact that the image URL could be a thumbnail of the …
There is a error shown in my website. this is automatically shown, i don’t update any plugin. Warning: include(/home/wisnetwe/public_html/earnwear/wp-content/plugins/um-woocommerce-tmp/…
I have a list of the latest posts (custom post type). In each list item, I have the title of the post and an image. I’d like to show the term name that the post is a part of. How would I go about …