Wordpress Questions
Ad
How to return everything a function created with 'foreach' as string in PHP to send with wordpress contactform 7 dynamic field
I want to send an email with contactform 7 dynamic hidden field wordpress plugin, to get dynamic content to the email. this is possible while
Contactform 7 - wpcf7_admin_after_additional_settings action is not working within Class
I am getting one weird issue while developing the contact form 7 extension using php oop concept.
Wordpress ContactForm 7 Error Sending message
I installed the plugin contactform 7 on my wordpress. everytime i try to send the message the error : there was an error trying to
Contactform 7 Datepicker not working
Am using wordpress 4.5.9, contactform7 4.4.2 and contactform7 datepicker 2.6.0. after updating contactform 7 and contactform7 datepicker,
Ordering Wordpress posts by most recent comment
I'm wanting to order wordpress posts by the most recent comment. to the best of my knowledge this isn't possible using the wp_query object, and
How do I get wordpress to override a previous posts query?
I've got a page that has a category list at the top, and should normally list posts below it. the category list is created using:
Using Wordpress LOOP with pages instead of posts?
Is there a way to use the loop in wordpress to load pages instead of posts? i would like to be able to
Redirect User to specific URL depending of selected dropdown during submit
New to javascript seeking some help. (trying to setup a form for my class students to fill) i am working on contact form 7 for wordpress.
Is there an API call in WordPress to remove the categories and author from static pages?
I'm currently using the carrington blog theme, and it has a few things that i would like to remove from static pages. i would like to remove the
Finding the Latest Post by Author
I'm building an "authors" page for my wordpress blog that lists all the current site contributors along with various other information such as
Ad
How can I get Wordpress archives by author username?
I need to get archives of one author and exlude all others, wordpress wp get archives() doesn't have that kind of filter. how can i fitler all
How can I filter blog posts by author?
I'll use have_posts function to fetch messages, how can i filter posts by author name?
Replace author url with different one (wordpress)
There are 3 authors in our company blog, each author has own site url in profile settings: mike - http://mike.com
wordpress custom post pagination show same post on all pages
Here is my code. plesae helps me to fix this issue. actually, i used a page template on wordpress. i try the many articles but do not get exactly
WordPress: I got rid of the second "home" page, but it's not good enough
I have a wordpress site (2.6.2) in which i have set the home page to a static page instead of the normal posts page. the id of this page is 2, so
Home.php using for blog content can't retrieve page title - Wordpress
Hi i want to do the blog part in my wordpress theme, i set up using static front page et blog page to display latest post. so in my
Pagination in Wordpress home.php
Pagination isn't working in a wordpress blog. i've tracked the specific file responsible, to home.php. the original blog page displays
Making Pagination work with home.php
I can't seem to create a proper numeric pagination links on my home.php (i.e. the page containing all the posts sorted by date). been
Accidentally deleted code inside home.php file ony my wordpress app how to restore it
I'm using one page wordpress theme and inside home.php i accidentally removed some code and inside wordpress there is no undo button ( dunno why
Wordpress: index.php vs home.php?
Im reading this tutorial
How to access the blog index.php when home.php is used?
I'm sure there's a simple solution to this, but i find a solution. i have homepage.php created to display some content, then i have
Ad
Wordpress home.php repeats content?
I am kind of wordpress noob, but trying to implement my html/css theme into wp, but i've stumbled upon a weird bug...everytime i add another post,
Rewrite index.php in Wordpress
I started a blog and when i changed my permalink structure to /%postname%/ i get a page not found error. i want my url to look like
WooCommerce shortcode to ajaxify message that display: "You need to spend to get free shipping"
I modified this script to make a shortcode that shows how much the customer need to spend to get free shipping.
WooCommerce Checkout add default value to Billing fields if custom checkbox checked
I've already created a custom checkbox field in the checkout page with a name of billng_anonymouse, now i want when a customer
Wordpress Custom Email Sending Twice
I'm developing a plugin to integrate my woocommerce store with a third-party right now, and as part of that integration i need to send the
WooCommerce Subscription hide buttons for specific products
Based on that question:
How to link WooCommerce guest orders to customer account after registration
Our scenario is: the guest user enters the site and places one or more orders without the need to register. and after a while, he decides
Wordpress - Return multiple product attributes
I'm trying to replace the product title on the woocommerce product catalog by some product information, based on product attributes. i've
How to change add to cart button text for specific variable products on single page in WooCommerce
I have a few variable products on my website. among those only on a few specific products, i have added two variations on those products one is
Get total tax amount in the checkout - woocommerce
I changed checkout price to 600€ with code below: add_filter( 'woocommerce_order_amount_total', 'custom_cart_total' ); function
How to get all products that doesn't have feature image in woocommerce?
Some of my products missing their images, what i'm trying to do is to make a query that will give me only products with the default image
Ad
How to update product meta when the woocommerce order status changes
Please help me with the code, i need the product to be updated when the order goes to the status completed... here is my outline of the code, i
Displays the total number of products in Wordpress
How do i get wordpress to display the result (number of all products in the shop) exactly where i want it to be. so far i have inserted the code
How to get woocomrnce product category by meta key value
I have product categories with meta value "old_id" , im trying to make a function that will return the new product
Append text to description response in Woocommerce rest API
Is it possible to add text to the "description" field in a woocommerce rest api response? adding text to the_content
How to put the woocommerce order date in a shortcode
I'm trying to put the date of the order placed on woocommerce in a shortcode. this is what i did: add_shortcode(
Woocommerce API endpoint for custom taxonomy
I created a custom taxonomy through the code below: add_action('init', 'vendor_taxonomy', 0);
How do i sent a event from a webpage to a client application
I have a webpage(wordpress) updating some tabel information in the mysql database. and i have a client application on aother pc runing a
How do I combine 2 SELECT statements where the result
How do i combine 2 select statements where the result of the first select is used in the where of the second select below is the code i am
Make e-mail field from single product page review form not required
I would like to either remove or disable requirement of the woocommerce single product review e-mail field, but keep the name
I couldn't figure out why is the conncection is closed
I'm posting data to the wordpress api but i got this problem of closed connection .. first time it was working but i dont know what happened
Netlify deploy with results of TypeError: Cannot read property 'replace' of undefined
I have completed my project using wordpress as a headless cms, this work locally; however when deploying to netlify i am getting cannot
Ad
WooCommerce Cart API for Mobile Application
I am new to woocommerce. i want to add products to user's own cart. i googled a lot for this but it seems cart api is not added in woocommerce
How to upload Audio file to wordpress via Rest API from flutter
I am able to upload images via api to wordpress but not audio files, it gives http 500 error when i try to pass the audio file to the method. but
Gallery pics re-sized when seeing from android
I’m quite a newbie around here so this kinda feel like i’m learning sanscrit. thrilling and overwhelming at the same time. anyway, the
Minimum order amount depending on postcode and shipping method on WooCommerce
How can i set a minimum order amount only for delivery/shipments (but not for local pickup) and depending on specific post codes? use case:
How do I echo different content for each product tag on a category page in WooCommerce?
I am using url parameters to filter my categories like so:
Error with Gatsby plugin Gatsby-Source-Wordpress
I'm trying to setup my first gatsby + wordpress site. i'm following
How to deploy react images inside a wordpress plugin?
I developed some small wordpress plugin in react. the react app is using some images inside the project. when i deployed the react app the url of
Is there a way to to show snapshot data based on object value in Dart / Flutter (REST)?
I want to show posts only if they contain number 1 in it. json: posts = '{"number":"1"}';
WordPress with React: Saving and Using Data Collected with fetch
I am trying to do a hopefully basic thing with react, which is access an endpoint created by my locally installed wordpress website so that i can
Is it considered a good practice by any stretch to use a mix of CMS and Laravel in a web app?
I was wondering if its okay to use a cms like wordpress to develop and manage static pages of a website (e.g landing pages) while using a
Using Contact Form 7 with React
I'm trying to build a wp theme in react.. is there any way to use contact form 7 plugin in react using wordpress rest-api
Ad
How to fetch a product from woocommerce api based on the sku?
I found difficulty in fetching a product from my woocommerce website to my django app based on the sku. in the official documentation
How to add and validate custom fields into checkout block in WooCommerce Block plugin?
I am trying to add custom field within woocommerce checkout block, so i added a forced inner block by following
Append a measuring unit to the quantity field in WooCommerce email notifications
I'd like to append a unit to the quantity field in the order confirmation email, more precisely in the order items table of that email
WP and Node implementations of Phpass does not match when there are international characters in the password
I want to authenticate wp users using my own authentication service written in node. i have users saved in the wp_users table. their
Hide out of stock products woocommerce query
Tying to hide out of stock products from a query <?php $args = array( 'post_type' =>
Proxy wordpress from react inside docker
I'm building a web app with create-react-app as a frontend and wordpress api as a backend. i want to use docker for a seamless deployment.
How to parse Node Express session from WordPress
There are : wordpress example.domain node.js express with passport.js example.domain/node
How to register custom field that is based on existing value in REST route
Iam registering a rest route (see code 1) whereby the content of the route will be equal to results from the wpso_messages database. the
Wordpress ACF oEmbed field - Embedding Bandcamp content
I've set up with advanced custom field a custom oembed field, called embed. and it's displayed in the front end in the simplest
Gutenberg InnerBlocks.Content in Editor
I have a block that uses <innerblocks />. i know that i can, in the backend import the innerblocks component, and
Gutenberg InnerBlocks pass props or get info
I am just getting into gutenberg and especially innerblocks. what i am trying to achive is a form of communication between parent- and inner
Ad
How can I display WordPress posts in Flutter app?
I am trying to implement a simple discussion board in my flutter app. to do this, i wanted to connect a wordpress blog site to the app. i followed
"TypeError: Cannot read property 'innerBlocks' of null" for InnerBlocks in Gutenberg
I have recently asked a question about the same
How can I use bootstrap grid mapping an array of images?
I'm building a portfolio website with gatsby.js. all photos are posted in wordpress, fetched by graphql and rendered to the website. i'm
"Cannot read property 'getEditedPostAttribute' of undefined" for InnerBlocks in Gutenberg
I'm trying to implement a block component for the gutenberg editor in wordpress. there i want to use the innerblocks
Filter wordpress posts by category - problem with graphql and gatsby.js
I want to list all wordpress posts on my gatsby.js page, and to filter them by category when the user clicks on category-tab. when the category
How to redirect if slug contains certain word?
I'd like to redirect if my slug contains /product-category/. so for example...
www subdomain links to a fresh Laravel application on a wordpress site
I have a website http://neurosensum.com and we want to open non www urls always so we added following code in
Changing text of Add To Cart button before color and size
For the past few days i was trying to figure out, how can i change the text of my add to cart button before the customer selects an option.
How to use WC_Order_Query class with custom order status
There is a new order status i created: packed. i want to get orders with order status "packed". this order status must have been
assigning undefined to JSON property value
I am unable to extract the json property value from the json returned from my server running in a wordpress environment. client universal
How to add script as a module using wp_enqueue_script WordPress
I want to add a javascript module to a wordpress site. however by using
Ad
Cannot read properties of undefined (reading 'top') happens on every page except homepage
I currently get a jquery error that is driving me crazy. "cannot read properties of undefined (reading 'top')" i
Woocommerce - How to edit dashboard my account with elementor
Premise: i am a fan and not a programmer. i share this information because i have not found any solution on stackoverflow or google. so, working
Why is this conditional removal of WooCommerce billing field not working?
I've got the following code in my functions.php file that is supposed to check if certain products are in the cart and, if they are, remove a
How to use woocommerce_trash_{$post_type} action hook
I am trying to read product value when admin click on trash for a product (image attached).
conditionally display woocommerce completed orders
Currently, on my website, there is a custom user profile field (example midwife_practice, users fill this during registration) that has the same
Duplicate Posts In Custom Post Type by Taxonomy
I have a custom post type called products (not woocommerce). the user selects the categories using an acf taxonomy field. i'm trying to get each
Woocommerce sort by price after set custom discount on product
I added a custom discount in all products via functions.php, because we want to run a campaign based on specific brand. prices are showing
MySQL update price using SKU in WooCommerce
I am trying to update prices in woocommerce based on sku. i have written some sql but getting error 'you can't specify target table 'wp_postmeta'
WooCommerce how to perform a redirection for not logged in users
I need a redirection for all not logged-in users on my wordpress site. all of them should every time be redirected to the login site. so
How to hide products from the products shortcode 'woocommerce_shortcode_products_query' using product ids
I am using the woocommerce products shortcode to show some related products on a product page. the product shortcode is as follows:
Split discount (coupon) row into multiple deducted cost rows in WooCommerce order totals table
If there are 2 discount coupons used, it shows the sum of 2 coupons in the woocommerce order totals table, while i want to show the deducted cost
Ad
Change orders status by order number in Woocommerce
I would like to know if there is a way that i can change status of a bunch of orders with a list of order numbers, exemple : change status of this
"Update Cart" not triggering my woocommerce_after_cart_totals action hook
I have a woocommerce_after_cart_totals hook action being done to output a specific json object to the cart page. it works as expected on
How can I prevent my function from treating "0" as empty?
I have a lottery search form which concatenate six input fields into a single value and returns the ticket results based on the position. my form
Cart discount for product that cost less in WooCommerce unless that product is already on sale
I want to add a 30% discount on the cheapest item in the cart, except if it already has a discount. based on
WordPress: Embed code with custom Gutenberg block
I am trying to include a custom html embed input on my gutenberg block but can't figure out how to do it. i was wondering what is the best
WooCommerce purchases are very slow
It is taking 15 seconds or so from the time the user submits their order for purchase, till they receive the thank you page on my woocommerce
WooCommerce how to perform conditional checks for custom categories
I have a woocommerce store and i'm trying to add prefixes to the order number based on if the order contains a product within one of two different
how can I use PHPMailer to send emails with themosis/wordpress framework?
I have a site that uses a framwork called(documentation here). a
Get JSON response from wordPress website, woocommerce with basic authentication
I am developing an android application that get products of a wordpress site. woocommerce plugin is installed on website. i can get json of that
Cannot create custom fields with the wpapi Node.js wrapper for WordPress REST
I use the following snippet to create a wordpress post via the rest api, using the node.js wrapper: var wp = new wpapi({
How to create a new WordPress post, using the wpapi for Node.js?
I tried using the wpapi module to create a post in wordpress. there is no error, the request ends with 200 success, but the request
Ad
How do I get data from Javascript function and save it to a user's custom meta field in php?
I'm working with a service that automatically registers my user's devices with onesignal. i call the function on login by calling
How to get selected home page in wordpress using corcel?
I'm using corcel for get worpdress info to laravel application. corcel i
Ad
Blog Categories
Ad