Data dodania Pytanie
2017-04-11 18:04 Woocommerce custom status code empties cart before payment »
I'm building a new payment gateway in Woocommerce. In the process_payment function I'm amending the order total, then changing the status to 'deposit-...
(0) odpowiedzi
2017-04-11 13:04 Nginx reverse proxy to Wordpress with Laravel »
I'm currently managing a setup where we're using a Laravel webapp on domain.com and running a Wordpress blog on domain.com/blog. The domain.com/blog ...
(1) odpowiedzi
2017-04-11 07:04 Multiple WordPress sites with one shared DB using Docker »
I want to run multiple WordPress websites with one shared database using docker. Is it possible to specify a database and set an appropriate volume t...
(0) odpowiedzi
2017-04-11 06:04 Using wp_read_audio_metadata() »
I am trying to get some metadata from an mp3 file in WordPress. Specifically the length variable. Here is a bit of my code. It's not shown here but I ...
(0) odpowiedzi
2017-04-10 21:04 Subdomain/subfolder redirect conflict »
We have a bunch of sites that are subdomains. We are changing the structure of these sites so they are a single site instead of multiple WordPress ins...
(1) odpowiedzi
2017-04-10 13:04 Custom add to cart button/link in variable single product pages »
In WooCommerce 3.0+, I have created some tabs using js and in each tab contains products from different categories. I have managed to modify add-to-ca...
(1) odpowiedzi
2017-04-10 11:04 Change Value with JS/Jquery Wordpress »
I build a form on a Wordpress Website with a Pagebuilder Plugin. I want to change the value="submit" to something else. This is how the code looks whe...
(5) odpowiedzi
2017-04-09 23:04 How to avoid a fatal error in case Advanced Custom Fields plugin isn't activated? »
The Advanced Custom Fields docs always advises to start anything with verifications such as <?php if(get_field('repeater_field_name')): ?> but w...
(2) odpowiedzi
2017-04-09 18:04 Place Wordpress posts pagination links at the bottom of the row in Bootstrap »
I have numeric pagination links under a Wordpress WP_Query for my custom post type. But they are appearing within the Bootstrap row (like an extra col...
(1) odpowiedzi
2017-04-09 02:04 Query post_meta date instead of post_date_gmt »
I'm limiting my query to use show post from 6 months ago which works fine. But I need it to be based on a date that is in the post_meta table instead...
(2) odpowiedzi
2017-04-08 20:04 Allowing only one purchase per week in WooCommerce »
I am creating an e-commerce website. What can I add to the functions.php file of my theme to allow a customer to purchase only one product from the st...
(1) odpowiedzi
2017-04-08 15:04 How can I separate wordpress in backend & frontend with docker container? »
I've created two containers for this using the following commands: docker run --detach --name=test-mysql --env="MYSQL_ROOT_PASSWORD=mypassword" mysql...
(1) odpowiedzi
2017-04-08 02:04 Fabric JS _updateObjectsCoords alternative? (Migration issue to 1.7.9) »
Update: JSFiddle: https://jsfiddle.net/Qanary/915fg6ka/ I am trying to make my curveText function work (see bottom of this post). It normally works ...
(1) odpowiedzi
2017-04-07 17:04 Remove a ver parameter from a URL - Wordpress »
I'm currently working on a Wordpress website and I'm running into an issue. The code in my functions file to enqueue the .js file is: wp_enqueue_sc...
(1) odpowiedzi
2017-04-07 14:04 Get all options from WordPress options table »
Is there a way to get all of the options that are currently being store in the options table for my Wordpress plugin? foreach ($options as $slug =&gt...
(3) odpowiedzi
2017-04-07 12:04 In my android e-commerce app which uses my woocommerce inventory how can I create resources eg. customers, orders etc using the woocommerce rest api »
I have my e-commerce store which uses woocommerce -a wordpress plugin. I need to develop my android app which performs all the CRUD operations for all...
(0) odpowiedzi
2017-04-06 16:04 How to filter json using angular filter »
Hey i have little problem with angular filter. I import post from wordpress, and i would really like to filter them by tags, like, now show only post ...
(3) odpowiedzi
2017-04-06 09:04 How to get parent page id and title of current page in wordpress? »
Here is the my code, which is not working. global $post; echo get_the_title( wp_get_post_parent_id( $post->post->ID ) ); but this is not work...
(2) odpowiedzi
2017-04-06 07:04 How to create a Multi-Network subsite? »
I've enabled Wordpress Multisite (subdomains) on www.example.com and created a subsite @ s.example.com, and then installed/enabled WP Multi-Network. ...
(2) odpowiedzi
2017-04-05 23:04 WP_Query - order attachments by filename? »
Is there any way to order attachments by filename within a WP_Query? For example, in the arguments: $args = array( 'post_type' => 'attachment...
(0) odpowiedzi
2017-04-05 22:04 Extra p elements created when calling the_field() or get_content() from within p tags »
"philosophy_text" is a textarea field created with the ACF plugin (Advanced Custom Fields). When displaying this field using the_field() from within p...
(2) odpowiedzi
2017-04-05 16:04 Regular expression to match url and ignore querystring »
I have migrated my old asp.net website to wordpress and i now am trying to do 301 redirect gracefully . I am trying to do it by using regular expre...
(1) odpowiedzi
2017-04-05 14:04 Order properties should not be accessed directly - WooCommerce 3.0 »
I've just upgraded my local WooCommerce website to 3.0. Everything works perfectly as normal, but I've noticed with debugging turned on that I'm getti...
(1) odpowiedzi
2017-04-04 19:04 Wordpress - get_comment_author() returns "Anonymous" as author name »
Note I know there is another post on this topic. Unfortunately I could not find a solution for my usecase there. So I'm asking this question again. ...
(1) odpowiedzi
2017-04-04 17:04 Adding datatables to a table (wordpress) »
I'm trying to add datatables to my project and it shows up with the arrows and the search bar, but neither work. I tried testing the code on a page ...
(1) odpowiedzi
2017-04-04 16:04 Redirecting a few thousand URLs using PHP »
I am migrating a site which will require about 5000 redirects, in a format such as http://www.acme.org/content/item.aspx?id=123 redirects to http://w...
(1) odpowiedzi
2017-04-04 14:04 Bypass validate_product_categories() in is_valid function core code for Class WC_Coupon »
How to remove $this->validate_product_categories(); in is_valid function in WooCommerce class-wc-coupon.php file without editing plugin? Is there...
(1) odpowiedzi
2017-04-03 13:04 301 Redirect not working with '%' »
I am trying to create a 301 redirect on my WordPress site because an author's name has recently changed. Other redirects are working, but not the ones...
(1) odpowiedzi
2017-04-03 07:04 Prioritize visible content in pagespeed »
I'm working on the item Prioritize visible content. I've moved styles related to the top window in the head. What happened you can see on the followin...
(0) odpowiedzi
2017-04-03 06:04 Session lost after form submit in wordpress »
The session I set is lost after the form is submitted. I had built the session class to set new session, unset and so on. In function.php of wordpres...
(5) odpowiedzi
2017-04-02 20:04 Unable to display category name of post »
On my home page, I'm trying to loop through a set number of posts and display the category name of each post. The category that I'm trying to display ...
(2) odpowiedzi
2017-04-02 18:04 How to remove only one inline <style> from Wordpress head »
I'm designing a Wordpress site that's not yet live. There is a block of inline css in the head of the home page that needs to go. I'm not sure where i...
(4) odpowiedzi
2017-04-02 12:04 Initiate Python Script on AWS from Wordpress »
I have the following use case in which I need to run a Python script on a AWS hosted VM with information from a Wordpress site: 1) User enters a numb...
(1) odpowiedzi
2017-04-01 20:04 WordPress Database Error: [Table 'databasename.wp_users' doesn't exist] SELECT * FROM wp_users WHERE user_login = 'Username' »
I was developing a WordPress theme locally on a Mac (OSx Sierra) using XAMPP. It was set up so that when I typed localhost/ThemeName into the URL, I w...
(1) odpowiedzi
2017-04-01 11:04 How to clear server and browser cache in WordPress »
I have a plugin that randomly displays images on front-end. It's working good on non cache website, but for people using in siteground or wpengine, th...
(1) odpowiedzi