Data dodania Pytanie
2017-02-26 22:02 unclosed parenthesis in custom endpoint in WordPress »
I hve been having a number of problems recently with Wordpress and having AJAX responses with PHP errors saying Warning: preg_match(): Compilation...
(1) odpowiedzi
2017-02-26 22:02 Why won't my WordPress functions.php load styles or scripts? »
I am creating a custom WordPress theme, I have done it once before. I looked at what I did for functions.php before and replicated it, changing the fi...
(2) odpowiedzi
2017-02-26 02:02 jQuery to Wordpress - Uncaught errors driving me insane »
I recently finished a little application on Codepen and I decided to bring it over to my website, which is using Wordpress. I replaced all instances o...
(1) odpowiedzi
2017-02-25 19:02 javascript getelementsByClassName - undefined [] »
Background: I bought this WordPress plugin for event bookings. Apparently the author did not feel it was necessary for things like price updates after...
(1) odpowiedzi
2017-02-25 18:02 Wordpress - How to prioritize some stylesheets when enqueueing them »
I'm working on a WordPress theme. My theme uses bootstrap and another framework, plus some custom CSS as well. I'd like to know if there's a way to ...
(1) odpowiedzi
2017-02-25 09:02 Cannot save another row after 158 rows in Custom Field Suite plugin loop in WordPress »
I been using custom field suite for creating a custom field in WordPress. Unfortunately after having 158 rows in CFS loop it cannot save the next adde...
(0) odpowiedzi
2017-02-24 22:02 function returns "thisarray" instead of the actual array »
i'm working on a Wordpress Plugin that will use an API to get a Array of Heros and displays them at the place of a shortcode. I have a Class class H...
(2) odpowiedzi
2017-02-24 07:02 octobercms install error: database is not empty? »
I want to try laravel octobercms,my database has some wordpress field, when I install october, I got error : Database "###" is not empty. Please empt...
(1) odpowiedzi
2017-02-24 04:02 PHP error in woocommerce_get_availability filter hook »
In WooCommerce, for some reason I am getting this error: Warning: Invalid argument supplied for foreach() in /home//wp-content/themes/flat/functio...
(3) odpowiedzi
2017-02-23 22:02 Get for a specific attribute of a variation the corresponding data value »
I'm editing the variable-subscription.php file in attempt to display a specific WooCommerce Variable Subscription attribute, along with certain attrib...
(1) odpowiedzi
2017-02-23 20:02 Conditionally adding a cart fee if no coupons are applied to cart »
In WooCommerce, I am trying to figured out how to add a "Handling Fee" to every order when no coupons or promo codes are applied to cart. Here's my ...
(1) odpowiedzi
2017-02-23 18:02 Advanced custom fields - Getting the fields values in completed email notification »
I added some fields in the WooCommerce orders page using Advanced Custom Fields (ACF) plugin to work as tracking information. Essentially I want the a...
(1) odpowiedzi
2017-02-22 23:02 Detecting if the current user has an active subscription »
I'm developing a website in WordPress with WooCommerce. I'm using additionally WC Paid Listings and WooCommerce Subscriptions plugins to handle my wor...
(1) odpowiedzi
2017-02-22 20:02 Restricting cart items to be from the same product category »
I am using the code below to remove other WooCommerce product category items from the cart when there is an item with a special product category 'cat_...
(1) odpowiedzi
2017-02-22 03:02 How to get current logged in user using Wordpress Rest Api? »
I tried to add a custom request. add_action('rest_api_init', function () { register_rest_route( 'custom', '/login', array( 'methods' =&gt...
(1) odpowiedzi
2017-02-21 20:02 Is it possible to format search results by having a results.php file refer to code in a main.css file? »
On a Wordpress website I have created using a template (Herald from Meks), I want to create a series of drop down menus which provide real-time filter...
(1) odpowiedzi
2017-02-21 19:02 Why would my WP plugin work for one person and not another on the same system? »
My cousin and I built a WordPress plugin for CoursePress that will take in a list of email addresses, and add them as users/students into a course. W...
(1) odpowiedzi
2017-02-21 06:02 Sort categories list by counting item »
For example, I have 5 categories in Woocommerce like A(3) ( 3 for the items in category A ) B(7) C(22) D(1) E(0) They are di...
(2) odpowiedzi
2017-02-20 18:02 Is it worth saving an object property into a variable when accessed several times? »
Particularly in wordpress, I was wondering: does it make sense saving for example $post->ID into a $post_id variable when accessing it several time...
(1) odpowiedzi
2017-02-20 16:02 How to add a button to a sidebar widget? »
I am quite new to WordPress and I want to add a custom button to the admin dashboard in the PointFinder theme. I am aware of the action hook concept a...
(2) odpowiedzi
2017-02-20 09:02 Wordpress RewriteRule for custom script »
I have a qTranslate plugin that redirects all my pages with prefix /lt/. For example: /page/ -> /lt/page/ I also have a custom PHP file that I w...
(1) odpowiedzi
2017-02-19 18:02 HTML5 event custom validation for required in PHP convert »
I need some help with required attribute on PHP version. Required field works fine, but problem is with oninvalid element to show custom text like in ...
(1) odpowiedzi
2017-02-19 15:02 Custom Post Type Display Thumbnail - WordPress »
Would anyone know why my list of 'events' is displaying like this: Instead of this: So the question would be; How can I make a list of custom ...
(1) odpowiedzi
2017-02-19 01:02 Adding custom text labels to the product prices depending on their type »
I have one little problem that I can't solve yet. I have this WooCommerce web site with variable products, and currently prices are shown in this way...
(2) odpowiedzi
2017-02-18 22:02 Get multiple images in wordpress media selector »
I have the following jQuery which will open the wordpress media selector and give me back the url of the media file selected. I have set multiple to...
(0) odpowiedzi
2017-02-18 20:02 How do I tell composer to install minimum files »
I've got a composer.json to require twig: "require": { "twig/twig": "~1.0", ... } This twig package installs a folder called doc. ...
(1) odpowiedzi
2017-02-18 20:02 Uncaught TypeError: Cannot set property 'selector' of undefined »
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­...
(0) odpowiedzi
2017-02-18 09:02 How to "modify" a closure »
I'm making a class to add metaboxes to Wordpress extending functionality of Metabox.io. Now you often have metaboxes with the same attributes (for e...
(1) odpowiedzi
2017-02-17 14:02 Free shipping depending on weight and on minimal cart amount »
With WooCommerce, I need to have Free Shipping over certain amount of 250 except the heavy products that are included in the cart. Does anyone know w...
(2) odpowiedzi
2017-02-17 13:02 What is best practise for storing custom data for Wordpress »
Context: I need to create a form with a lot of customisations and quite a few fields (20+) for a site and rather than installing a plugin and modifyin...
(3) odpowiedzi
2017-02-17 06:02 Getting an alt tag to show up over an img on hover »
So I've got it working on a jsfiddle perfectly here: http://jsfiddle.net/5dxhC/32/ $('img', '.thumb').each(function() { $(this).parent().append('&...
(2) odpowiedzi
2017-02-16 18:02 C# Issue with converting from json »
I want to get posts from a test site with WordPress. When I am debugging, I can see that I get the data from web, but when I try to put them in a Text...
(1) odpowiedzi
2017-02-16 14:02 How to get woocommerce orders by product ID wordpress? »
I want to get all orders in woocommerce filtered by product id Ex. if I want to know how many orders placed of product XYZ where product ID is 123. T...
(1) odpowiedzi
2017-02-16 11:02 Automatically Synchronize site content with other sites in multi-site network »
I would like to Synchronize site content with other sites in multi-site network. All sites have multiple languages with WPML i.e. If i change a EN po...
(0) odpowiedzi
2017-02-15 18:02 Get outuput of wp_head or wp_footer in wordpress Rest API »
Is there a way to get what come with wp_head() or wp_footer() in rest api call? I mean scripts and styles that can come from plugin or WordPress itse...
(0) odpowiedzi