wordpress plugins
How can I create a navigation menu in wordpress plugins without creating any menu in a theme? I am developing a plugin to install a nav menu in wordpress. Once I installed the plugin , a nav menu must appear at the top of the home page. I want to do this in plugin without using any theme …
|
|||
Website showing error when accessing it I installed wordpress on my website. Uploaded a nice premium theme for ecommerce. But when I try to access the website then it shows an error. An image of the error is shown below. What can cause this …
|
|||
Bootstrap column being pushed to different width I’m making a new theme for my web blog, but I ran into a small issue: The panel which I use for the post itself gets pushed wider than I want. This is how I want it to look (screenshot from the …
|
|||
While-loop skips entries with same meta value I have a list of entries and some of them have the same code. For the overview of the entries I need only one of them. I created a while loop with a counter and code value checker which returns the …
|
|||
Select by category and order by custom field Now I’m getting all post by category: “talleres”. I’m using a plugin called “Custom Field” that leave me add more information to post that I’m editing. I want to select all post that are in “talleres” …
|
|||
WordPress My Custom Class doesn’t appear in inspection I’m editing my CSS and I have new Custom class but it’s not working and it is not showing in inspection either. Normally when you have a class and this class is overriden, it shows in inspection so I …
|
|||
cookies is not set unless in the header file of a wordpress theme? In the project i’m working in now , i need to set cookie or session using csrf.php file function store_in_session($key, $value) { if (isset($_SESSION)) { $_SESSION[$key] = $value; } …
|
|||
How to get a list of shipping methods without a (filled)shopping cart Is it possible to get a list of available shipping-methods based on only a total amount and/or country code? I quess it is possible by building my own SQL query, but I was wondering if it is also …
|
|||
WordPress Woocommerce resizing images to square without hard cropping Are there any plugins for WordPress/Woocommerce to resize the product and category images to a set size (e.g. square) and fill the background with a cooler (e.g. white) without hard cropping? Or any …
|
|||
Responsive Menu hide after 1 sec I have a wordpress installation with a responsive menu. The code for the responsive menu is: <div class=”mobile-top”> <a href=”#” class=”mo-menu” data-toggle=”…
|
|||
adding a products per page dropdown to woocommerce I’m trying to add a ‘products per page’ dropdown to my woocommerce storefront child theme without using a plugin. I’m adding the below code to my functions.php source add_action( ‘…
|
|||
I’m currently building a website using WordPress. I already created 8 pages… twice because it’s bilingual. This space is public and presents the company. I’m supposed to build a membership space. …
|
|||
Unique identifier of wordpress site I need a unique identifier for the wordpress site. I was thinking to use wp_user but there can be many “john_smith”. Is there a system variable I can echo out? Is there a variable that gives the …
|
|||
SQL Query: Get String with highest number | Parse? I have a database which looks like this: Do not ask my why, but this is written by a WordPress plugin so I have to handle with it. What I want is to get every link where the meta_key = …
|
|||
Range Price & Fixed Price Not Descending WP_QUERY I’ve edited a wordpress theme and are currently trying to display the WP_Query by price descending. The theme only supported fixed price properties and I’ve created a guide price function that …
|
|||
Delete ACF Field from the backend with expired date I have an ACF field called sub seminars, inside this is another field called sub seminars which is a repeater field containing start_date and end_date. I have posts that have several rows of this …
|
|||
Are Too Many Redirects Always Caused by the Server? A client’s WordPress site was supposedly down as reported by two visitors in two different locations at two different times. Apparently, these visitors reported getting a “too many redirects” error. …
|
|||
WooCommerce: Is it possible to run one language on front-end and have WordPress admin in another I need the main website language to be in Spanish for the front-end so that the customers can understand the WooCommerce functions and buttons. i.e. “buy now” buttons should be in Spanish “comprar”. …
|
|||
WordPress Ajax call to external URL In a plugin in the admin part of my WordPress site I need to add functionality which uses ajax and sends data to a remote url. However, I need help on what is the right way for wordpress to write the …
|
|||
Pre-filing checkout post code with a custom value I have been using this custom function below in the previous versions of WooCommerce in order to pre-fill the City and ZIP code fields: add_filter( |