Jump to content

Search the Community

Showing results for tags 'wordpress'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome
    • Announcements & News
    • New Arrivals
  • Web Development
    • Programming
    • Database Development
    • Server Administration
    • Hosting & Domains
    • Frameworks
  • Web Design
    • HTML & CSS
    • Graphics & Multimedia
  • Desktop Discussion
    • Linux Development
    • Windows Development
    • Mac/Apple Development
    • Hardware Discussion
  • Marketing & Business
    • Advertising, Marketing, Monetization & Social Media
    • Search Engine Optimization & Traffic Building
    • Buy, Sell or Trade
  • Prodjex Web Development Applications, Tools and Plugins
    • IP.Board Applications and Plugins
    • Web Tools
  • The Developer Dump
    • General Chat

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 17 results

  1. When you have a Woocommerce Formula Based | Unit Pricing Plugin. This can allow you to set a Product price based on formula and unit. You can also set each variation price with a single table. Still you can add your Pricing Ranges for every variation. Plugin work with both simple and variable product. This Plugin you can sell your product in any Measurement of Units (Weight Units, Length Units, Area Units, Volume Units), etc.
  2. Recently a client buy a VPS at 1&1 and I moved the Worpress site from old shared hosting (Bluehost) to new VPS. The site is extremely slow and I don't know how to fix this meaning where to attack, if I should optimize something in Apache, if I should install some plugin to avoid this or something else so I need some advice. Some data around that WP: Database hold around 35k posts I have disable W3C Total Cache plugin since I think is miss configured and can slow down the site I have not using any image compressor like thimbthumb (this was installed in first but due to security reasons I remove from the site) The VPS has two cores and 4GB of RAM and it's running Centos, PHP 5.3.3, MySQL 5.5.x and Apache 2.2.15 Can any give me some ideas? Advice? Experience? I understood what this article told me, but still: https://smartclick.mk/why-is-my-wordpress-site-so-slow/. Do not know what else to do or how to attack this problem and my knowledge does not come so far on this. Performing Tests: In order to find the bottleneck I've enabled: Wordpress Debug Logs: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); @ini_set('display_errors',0); This logs most of the time errors like this [13-Feb-2015 12:01:46] PHP Notice: Undefined property: stdClass::$category_parent in /var/www/vhosts/elclarinweb.com/httpdocs/sistema/wp-content/themes/elclarin_v2/functions.php on line 136 MySQL logs: mysql.log, mysqld.log and mysqld_slow.log For mysql.log I've noticed a tons of access and for mysqld_slow.log I've noticed the following output: SET timestamp=1423830131; SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'; # User@Host: elclarin_us[elclarin_us] @ localhost [] # Query_time: 0.001520 Lock_time: 0.000043 Rows_sent: 227 Rows_examined: 261 SET timestamp=1423830131; SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'; # Time: 150213 13:22:14 # User@Host: elclarin_us[elclarin_us] @ localhost [] # Query_time: 0.003051 Lock_time: 0.000097 Rows_sent: 227 Rows_examined: 261 SET timestamp=1423830134; SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'; # User@Host: elclarin_us[elclarin_us] @ localhost [] # Query_time: 0.003259 Lock_time: 0.000097 Rows_sent: 227 Rows_examined: 261 SET timestamp=1423830134; SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'; # Time: 150213 13:22:15 # User@Host: elclarin_us[elclarin_us] @ localhost [] # Query_time: 0.001597 Lock_time: 0.000048 Rows_sent: 227 Rows_examined: 261 Why the same query is executed all the time? Any web server thread is killing my Wordpress?
  3. How much PHP knowledge do one need to create their own website builder like WordPress?
  4. Hey Guys, What plugins do you use on your WP sites? Here is a list of my favorite plugins: All-in-One SEO Simple Google Analytics Google XML Sitemaps Login Lockdown Contact Form Easy Privacy Policy Akmiset Bryce
  5. While developing and making updates to a website you sometimes cannot see the changes in real-time. Even if you’re not running any caching mechanisms the browser itself will still cache items such as CSS stylesheets and JavaScript/jQuery files. Today we had a client that was using no caching plugins within WordPress or any caching tools on the server. Yet after our upgrade of the WordPress core and several plugins the site would not show these updates unless we forced the desktop browser to hard dump the cache. This really isn’t a viable option as users that may have already visited the website wouldn’t know how to do this and you wouldn’t expect them to. Mobile devices seem to cache even longer so waiting on the normal cache expiration time just wasn’t an issue. Short of looking through all plugins and how they load these files and then versioning them manually, which they should already be doing in our opinion, the next best option was to add some HTML meta data to the header of the website. <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> <meta http-equiv="pragma" content="no-cache" /> We tried all of the above, but it was still not working. If you didn’t have this code in your header previously then chances are it’s already cached and it will not force the cache dump. That when we stumbled upon Busted!. It’s a WordPress plugin that forces your browser to dump it’s cache when enabled. It hasn’t been updated in the past three years, but it still works with the most recent version of WordPress, tested on WordPress version 4.9.4. Right after installing we checked some mobile devices such as iOS Safari and the site loaded showing the new changes.
  6. This is a simple WooCommerce Request a Quote plugin that allows you to create a page, drop in a shortcode and allow users to Request a Quote on your store's products. The user can quickly enter in their contact information, search for the products they'd like to add and then submit the Quote Request. When the user submits the form it sends the site admin an email with all of the details so that they can reply back with a formal quote. It's a very simplified plugin that can generate more leads for your business. Install the plugin, activate it then create the page within WordPress that you would like to use for the Request a Quote page. Here is the shortcode to add to the page that will generate the Request a Quote form and functionality. [woosearch_quote] The current functionality allows the user to do the following: Add Name Add Email Add Phone Number Search for products from the store Click to add the product to the quote Clicking add again increases the quantity Clicking the "x" removes the product If the quantity is greater than 1, clicking the "x" will decrease the quantity of that product by 1 Download on WordPress.org!
  7. WooCommerce measurement price calculator plugin helps you to sell the products by area, weight, and volume. It offers you to sell the items by different units and you can also offer a discount on products. WooCommerce measurement price calculator plugin also enable dynamic pricing table which will help you to set the per unit price of all the products. You can sell every product by using this plugin such as tiles by sqft, drinks by liters, wires by meters, rice by kg etc. This plugin will calculate the total price according to the values selected by customers and display the price to them.
  8. If you are looking for WooCommerce registration fields plugin then you are at right place. You can drag and drop the fields into customer registration page and customize the labels to make it understandable. The use of WooCommerce registration fields plugin is very easy. You can add ten types of fields such as (Text area, Textbox, select box, Checkbox, Multi-select box, Radio button, Time Picker, Date picker, Password, and File or Image upload). Customers can edit their provided information from their accounts. In this plugin functionality of Facebook and Twitter login is also available.
  9. Looking for a way to disable plugin update notifications within WordPress? With a few lines of code dropped into your functions.php file this can be accomplished. Why would you want to disable plugin updates within the WordPress admin area? You don’t want the plugin updated as you’ve put custom code directly into the plugin fold and do not want it overwritten You don’t want the plugin updated as it’s not yet compatible with the version of WordPress you’re running You don’t want other admins accidentally updating the plugin To prevent the accidental update of plugins until ready In the below example I’m disabling 3 different plugins from showing as needing updates, the Perfect WooCommerce Brands, WooCommerce Predictive Search and WooCommerce Email My Cart. function filter_plugin_updates( $value ) { unset( $value->response['perfect-woocommerce-brands/main.php'] ); unset( $value->response['woocommerce-predictive-search/wc-predictive-search.php'] ); unset( $value->response['woocommerce-email-cart/email-cart.php']); return $value; } add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' ); The path you’ll find in your wp-content/plugins/ then the folder name of the plugin. Then within the plugin folder you’ll find the main .php file that has the plugin information in the header. Type that up and unset it like the example above and you’re all finished. Keep in mind this is only a solution for some and if possible you should be customizing plugins correctly and not modifying the core code.
  10. Quick and easy example of how to disable payment gateways based on the Country in WooCommerce. Currently there isn't an easy way to do this through the WooCommerce settings so you'll need to open up your code editor. Navigate to your theme folder at /wp-content/themes/themename . Hopefully you're using a child theme so jump into that theme's folder and look for your functions.php file. Scroll down to the bottom and drop in this snippet. If you're using WooCommerce 3.0 or newer: function payment_gateway_disable_country( $available_gateways ) { global $woocommerce; if ( is_admin() ) return; if ( isset( $available_gateways['stripe'] ) && $woocommerce->customer->get_billing_country() <> 'US' ) { unset( $available_gateways['stripe'] ); } return $available_gateways; } add_filter( 'woocommerce_available_payment_gateways', 'payment_gateway_disable_country' ); If you're using WooCommerce 2.6 or older: function payment_gateway_disable_country( $available_gateways ) { global $woocommerce; if ( isset( $available_gateways['stripe'] ) && $woocommerce->customer->get_country() <> 'US' ) { unset( $available_gateways['stripe'] ); } return $available_gateways; } add_filter( 'woocommerce_available_payment_gateways', 'payment_gateway_disable_country' ); In this example I'm disabling my Stripe credit card payment gateway if the country is not equal to the United States (US). In doing this anyone outside of the United States (US) when checking out and entering their billing/shipping address will have to pay with my other payment gateway of PayPal. You can enter any of your gateways here to disable by going into your WordPress admin area -> WooCommerce -> Settings -> Checkout and viewing the gatewayID. You can look up the country code here. Once you're ready save your functions.php file and you're all set. View the Prodjex Web Development blog post on how to disable payment gateways based on the Country in WooCommerce.
  11. One of my favorite Wordpress themes lately is the Salient Wordpress Theme by ThemeNectar. It does most things with ease and there are settings that save you quite a bit of time once you become familiar with the layout. This week I ran into an issue that I couldn't find any information on Google. In the Salient admin area there is General Settings -> Styling. Here you can find the overall theme skin. I really like the "Material" setting as it gives nice effects around the site. This setting adds some javascript to the site though and seems to override some basic functionality. I have a contact form on a contact us page. Everything looks and works correctly with the form, but once I submit the form successfully and it resets the placeholders are missing. I tried several different things such as setting the placeholders again with jQuery, but when I looked in the element inspector the placeholders were there, but not displaying. The only way I could get them to show up again was by clicking into the input field then tabbing to the next one or clicking outside. My solution was to use the jQuery blur(); function. I tried this by using on click of the submit, but ran into issues where it would reset those inputs even if it failed validation and didn't successfully submit. So I modified it and on a successful submit it will then blur all of the fields after 1 second and the placeholders return as expected. The easiest way to add the jQuery to your page is through the page builder, just add a Raw JS Element. Here's the code to place within there: <script type="text/javascript"> document.addEventListener( 'wpcf7mailsent', function( event ) { setTimeout( function(){ jQuery('#cfname').blur(); jQuery('#cfemail').blur(); jQuery('#cfcompany').blur(); jQuery('#cfphone').blur(); jQuery('#cfmassage').blur(); },1000); }, false ); </script> The wpcf7mailsent you will not modify, that's the Contact Form 7 success event to listen for. You will change the field names before each blur function, you can add as many as you need.
  12. Hi all, This may sound like a simple question and I agree with many themes I have used it has been but for some reason with my current theme I am finding it very difficult to change. My site is www.bengrovemarketgarden.co.uk and try as I might the home page will only display the featured image of posts and the title. It would rather it displayed the most recent post at the top and the rest below but the full posts or at the very least, a large snippet. The theme is sixteen, does anyone have any advice?
  13. farmer333

    Hi All!

    Hi All, This seems to be the place to say hello so there it is. My name is Liam, I am 33, and currently live and work in a small market garden in Somerset, UK. My early career started after achieving a degree in Computing. I then spent about 8 years in the IT industry, first in admin. then spreadsheet design, then IT Project management. Currently I have now left the IT industry but still like to stay involved in my spare time. I am currently designing a new website, but only in Wordpress, so nothing too heavy. I look forward to meeting some of you on the forum. Liam
  14. One of my wordpress blogs got hacked in the past because it was using an old version of Wordpress. I was curious to know how common this is. Have you ever faced any issues, including but not limited to getting hacked, because you didn't update?
  15. Nathan

    textarea value

    I'm trying to modify some wordpress files and I don't know what the "value" is called within a text area. $this->checkout_fields['order'] = array( 'order_comments' => array( 'type' => 'textarea', 'class' => array('notes'), 'label' => __( 'Order Notes', 'woocommerce' ), 'placeholder' => _x('Notes about your order, e.g. special notes for delivery.', 'placeholder', 'woocommerce') ) ); $this->checkout_fields = apply_filters( 'woocommerce_checkout_fields', $this->checkout_fields ); do_action( 'woocommerce_checkout_init', $this ); I need to put a value of a variable in that textarea. I tried the following code but it does nothing. $this->checkout_fields['order'] = array( 'order_comments' => array( 'type' => 'textarea', 'class' => array('notes'), 'label' => __( 'Order Notes', 'woocommerce' ), 'placeholder' => _x('Notes about your order, e.g. special notes for delivery.', 'placeholder', 'woocommerce') 'value' => $giftmsg ) ); $this->checkout_fields = apply_filters( 'woocommerce_checkout_fields', $this->checkout_fields ); do_action( 'woocommerce_checkout_init', $this );
  16. A while back I was asking for a simple Wordpress photo gallery. No one ended up providing a decent solution, so I decided to create something on my own. I like the native Wordpress photo gallery, but it doesn't have anything to get you to the next picture after you click to enlarge a thumbnail, that's not very user friendly. I want people to actually view my photo gallery, if it's not convenient then people are not going to use it. I was using NexGen Gallery, but it's bloated and the pictures don't load as quickly as I would like. So here is a simple solution. I read that with the native Wordpress gallery it searches to see if you have a image.php file present, if not it uses the Single.php file. I took a look at my theme and there is no Image.php file there. So I took my Single.php file and saved it as Image.php. A couple minor changes to make to this Image.php file: Find and remove: <?php the_content(); ?> Replace with: <div style="float:right;"><?php next_image_link(false, 'Next Pic') ?></div><?php previous_image_link(false, 'Previous Pic') ?><br /> <div style="text-align: center;"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'large' ); ?></a></div> <?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?><br /> That's it, save it off and upload into your theme directory. It makes it so simple, no if someone clicks a thumbnail in your gallery they can view that picture and also have links to view the next one or go back to previous without backing up to the gallery.
  17. I'm trying to find a good and simple photo gallery for Wordpress. I have used NextGen gallery before, but it seems to be pretty bloated and slow when browsing through pictures. I'm looking for a solution that will count pageviews each time you go to a new picture, so nothing like lightbox or any flash players please.
  • Create New...