WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

I'm trying to override 2 different JS files in my WordPress site's child theme, and am running into some major difficulty.

Here is the site URL: https://staging.royalpalm.com/

My goal is to change these 2 lines ..

<script type='text/javascript' src='https://royalpalm.com/wp-content/themes/houzez/js/houzez_ajax_calls.js?ver='></script>
<script type='text/javascript' src='https://royalpalm.com/wp-content/themes/houzez/js/custom.js?ver='></script>

Open in new window

To this:

<script type='text/javascript' src='https://royalpalm.com/wp-content/themes/houzez-child/js/houzez_ajax_calls.js?ver='></script>
<script type='text/javascript' src='https://royalpalm.com/wp-content/themes/houzez-child/js/custom.js?ver='></script>

Open in new window

This is what I currently have in my functions.php file .. in attempt to override these 2 JS files:


function remove_scripts() {
    wp_dequeue_script( 'houzez_ajax_calls' );
    wp_dequeue_script( 'houzez-custom' );    

add_action( 'wp_print_scripts', 'remove_scripts' );

wp_enqueue_script('myscript_ajax_calls', get_stylesheet_directory_uri() . '/js/houzez_ajax_calls.js', array('jquery'), null, true);

wp_enqueue_script('myscript_custom', get_stylesheet_directory_uri() . '/js/custom.js', array('houzez_ajax_calls'), null, true);

Open in new window

.. But I'm not able to dequeue the "houzes_ajax_calls" script for some reason.  I'm able to insert the houzes_ajax_calls.js file from my child theme, .. but the placement of it is incorrect (above the localized script that references "var HOUZEZ_ajaxcalls_vars" ) .. and the houzes_ajax_calls.js file 's now being duplicated.

If you view the underlying source code for the homepage, you'll see that the problem starts at around line #3690:


What am I doing wrong here?  And more importantly, how can I control the specific placement of the JS files in the bottom footer?

- Yvan
Free Tool: Site Down Detector
LVL 12
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I'm getting ready to update some of the websites that I actively maintain so that they're "GDPR compliant", which we've all been hearing chatter about.  Most of the sites are WordPress based, and contain contact forms that send email and write the information to the database, as well as Woocommerce-based shopping carts and Mailchimp-based newsletter signup forms.  I've read several articles that suggest what I'm supposed to do to make the sites GDPR compliant, but they all fall short in my opinion, and don't really provide useful enough information.  

I'm going to first start by installing and configuring this plugin on my WordPress sites: https://wordpress.org/plugins/wp-gdpr-compliance/

In addition, I think I'm going to need to manually update some of my other non-WordPress sites with the following:

1) I will add a short text blurb explaining that data is being collected somewhere either on the website or form page
2) I will add some kind of required "I agree to these terms and grant you permission to store my data" checkbox to the forms
3) I will will create a new "Terms and Conditions / Privacy Policy" page (that's company specific), and add a link to it somewhere in the bottom footer

Does this sound about right? Or am I missing anything else here?

Also .. does anyone here know where I could find a suitable, generic "Terms and Conditions / Privacy Policy" page (perhaps one that's GDPR Compliance specific) that I could copy & paste from and use for all of…
Wordpress - WooCommerce.  I have successfully created a Custom Field for a variable product.  It saves and update and does everything it is supposed to do to.  However, It is not showing the value in the field once I have updated the field, (It is Not echoing the value in the form field). Line 16 should be showing the value like the other fields. The image attached shows "Warehouse Location"  that is the Placeholder for the field.  The field has been set but not showing.

Here is the function:

function tlg_variation_warehouse_fields($loop, $variation_data, $variation) {
    // Select
    global $wpdb;
    echo '<div class="variation-custom-fields">';

                'id' => '_warehouse_location_field['. $loop .']', 
                'class' => 'warehouse-location-input',
                'label' => __('Warehouse Location', 'woocommerce'),
                'placeholder' => 'Warehouse Location',
                'desc_tip' => 'true',
                'description' => __('Begin typing the warehouse location here to populate a list.', 'woocommerce'),
                'value' => get_post_meta($variation->ID, '_warehouse_location_field', true)

    echo '</div>';

Open in new window

Why WordPress For Blogging ?
I have a wordpress mutisite and I was able to reset the user password in the db but it doesn't seem to be the same for the sub-site? Is this in a different location? I cannot load the reset password page.

I have a wordpress multisite and now all of a sudden one of the sites are not loading http://philly.phillyrentalco.com/ . Is there a log or something I can look into? Thanks
Just Moved my wordpress site to IIS10 with latest version of php. It works for a while after which it gives a weird error. And then I would need to restart the server for it to work.

Error from the windows error log.

Faulting application name: php-cgi.exe, version:, time stamp: 0x5a7219e5
Faulting module name: ucrtbase.dll, version: 10.0.14393.2097, time stamp: 0x5a820a13
Exception code: 0xc0000005
Fault offset: 0x000000000001f344
Faulting process id: 0x1074
Faulting application start time: 0x01d3eb881c85e262
Faulting application path: C:\Program Files\PHP\v7.2\php-cgi.exe
Faulting module path: C:\Windows\System32\ucrtbase.dll
Report Id: a805c7d4-4b03-4a18-ae4e-af14a5eed2f9
Faulting package full name:
Faulting package-relative application ID:

Any idea how to fix.

By mistake I moved  my web page folder (check black marked text ) by trying to open it under cashe folder. And I did not notice it. So i could not understand why my web page was not working any more. But still i did something wrong then when I was trying to repair the problem. Now  I am getting next error.
Can you help me to repair this?

You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Cannot access FTP Server (Win2016Std) from Internal.  (or from outside, when used with WordPress as a client)

FTP Server ( and IIS on same server behind firewall (TMG 2010). Configured publishing rule to forward External IP (X.X,X,X) to Internal (

All firewall rules are configured. Can connect from outside by FTP client (PASV) - no problems! Do not really need to connect from LAN, but


WORPRESS SITE requires FTP Server setup on WEB Server to upload Updates from WEB Site.

When I try to ftp from WordPress it sends internal IP of the WEB Site as a client IP ( not the Client IP of the Browser machine.
So, TMG does not allow internal to external loopback...

Any solution?
How do I display an Office365 calendar on a wordpress webpage
Cloud Class® Course: MCSA MCSE Windows Server 2012
LVL 12
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

On my Bluehost shared server, I see folders that I think can probably be deleted. Examples are:


Which I think are left over from the migration they did from Godaddy.

Also, in my dev directory, dev.mysite.com, I see


and finally I see:
/public_html/intranet as well as

I think one of those could go. So two part question: 1. Do you think I could safely delete those folders (after finding out for sure which one holds the actual intranet files)?
2. Would it make a difference to the performance of the sites that are on the shared server?

We're on the Business Pro cloud plan. We're running wordpress on all these sites.
How do I add a Try/ Catch to my WordPress Functions?

I'm trying to learn more and would like to add Try / Catch to my functions.  The functions do a process in bulk.
try{} catch(){} block,

class theleatherguy_bulk_cancel_inventory_restore {

    function __construct() {
        add_filter('bulk_actions-edit-shop_order', array($this, 'theleatherguy_register_bulk_action')); // edit-shop_order is the screen ID of the orders page
        add_action('admin_action_mark_cancel_order', array($this, 'theleatherguy_bulk_restore_order_stock'), 10, 1); // admin_action_{action name}
        add_action('admin_notices', array($this, 'theleatherguy_bulk_status_notices'));

    public function theleatherguy_register_bulk_action($bulk_actions) {
        $bulk_actions['mark_cancel_order'] = 'Mark Cancel Order'; // <option value="mark_cancel_order">Bulk Cancel Order</option>
        return $bulk_actions;

    public function theleatherguy_bulk_restore_order_stock() {
        // if an array with order IDs is not presented, exit the function
        if (!isset($_REQUEST['post']) && !is_array($_REQUEST['post']))

        foreach ($_REQUEST['post'] as $order_id) {

            $order = new WC_Order($order_id);

            $order_note = 'This order was part of a Bulk Cancel Process: ';
            $order = new WC_Order($order_id);
            $order->update_status('cancelled', $order_note, true);

        $location = add_query_arg(array(

Open in new window

I am looking at setting up WordPress as a multisite and see there is an option to setup as a sub-domain or sub-directory. Also, I need to have separate WooCommerce shops for each subdomain/subdirectory?

I was hoping to be able to access new sites via

site1.mywebsite.com or www.mywebsite.com/site1 or mywebsite.com/site1

site2.mywebsite.com or www.mywebsite.com/site2 or mywebsite.com/site2

Should I select the sub-directory option in multi-site setup and use .htaccess to redirect site1.mywebsite.com to www.mywebsite.com/site1

If so what would I code in .htaccess ?
I am new to wordpress and want to get my site up and customise it as quickly as possible. Are there people I can Chat to about this on Experts Exchange? Initially I need to remove the control bar from the Video widget from the Site Origin Widgets Bundle.
I moved a wordpress multi-site from one host to another but my other sites are not working. I am using the same domains. I checked the .htaccess file and wp-config file and they look like they have the right stuff. The only think I see differently (I think) is the new site does not have a unique ip. Is that required? My main site works www.abuzztech.com but not any of my subdomains http://home-computer-repair.abuzztech.com. I am getting the attached error
I have a wordpress site.



I run the scan with wordfence and no problems but google adwords

Says these dangerous links have been found


·         mobisla[.]com

·         mobpushup[.]com

·         pub2srv[.]com

any idea of how to find them?

I have run a string search in the site but nothing s found. I guess the problem is in the mssql tables.

Or are they in the hosting space? Can't find them either

Any  ideas?
Hi, i have to work on the wordpress project am trying to import the data to the database, successfully imported, after that am getting the error like

Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in C:\xampp\htdocs\noami\wp-includes\plugin.php on line 601

Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\noami\wp-content\themes\slowave\ebor_framework\metaboxes.php:76 Stack trace: #0 C:\xampp\htdocs\noami\wp-includes\plugin.php(235): new_custom_metaboxes(Array) #1 C:\xampp\htdocs\noami\wp-content\themes\slowave\ebor_framework\metabox\init.php(40): apply_filters('cmb_meta_boxes', Array) #2 C:\xampp\htdocs\noami\wp-content\themes\slowave\ebor_framework\metaboxes.php(432): require_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\noami\wp-includes\plugin.php(525): be_initialize_cmb_meta_boxes('') #4 C:\xampp\htdocs\noami\wp-settings.php(393): do_action('init') #5 C:\xampp\htdocs\noami\wp-config.php(89): require_once('C:\\xampp\\htdocs...') #6 C:\xampp\htdocs\noami\wp-load.php(37): require_once('C:\\xampp\\htdocs...') #7 C:\xampp\htdocs\noami\wp-blog-header.php(13): require_once('C:\\xampp\\htdocs...') #8 C:\xampp\htdocs\noami\index.php(17): require('C:\\xampp\\htdocs...') #9 {main} thrown in C:\xampp\htdocs\noami\wp-content\themes\slowave\ebor_framework\metaboxes.php on line 76
screenshot of sampleI'm looking to add two separate (stacked) text scroller fixed at the bottom of the browser window for my php/MySql WordPress site. An example of what I am trying to achieve can be found at the bottom of http://www.hsx.com or via the attached image.

I've come close with the code below, however, things quickly fall apart when I try to stack the two separate streams.

<!DOCTYPE html><html lang='en' class=''>
<style>* {
  box-sizing: border-box;

@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
.ticker-wrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.9);
  padding-left: 100%;
  box-sizing: content-box;

.ticker-wrap .ticker {
  display: inline-block;
  height: 4rem;
  line-height: 4rem;
  white-space: nowrap;
  padding-right: 100%;
  box-sizing: content-box;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;

Open in new window

Have a MySQL DB on a Word Press web site that I need to get data from.

I'm trying to figure out what the best way is to move the data based on what I have to work with.   I figure I can either:

Push data from the web site when a new entry is made in a table or on a set schedule


Pull the data from the web site to the local system.

What form that takes is what I'm not sure about.   Some of the data may be un-encrypted so I want a secure form of data transfer.

What I have to work with:

The web site has the capability of running cron jobs and I have full access to everything, although I don't believe I can do remote DB access (plus it would not be secure).  On the local system, I'm working with Microsoft Access and have SFTP and SSH access to the web site.   On the local server, I can get pretty much anything done (ie. setup a SFTP server), but nothing is in place at the moment.

Push would be my preference for efficiency, but I think it will have to be a pull from the local system.

Seems like DB to DB is out, so I'm thinking of a DB trigger or a cron job that would write the data to CSV file(s), then delete the data from the DB.  Then from the local system, every xx minutes, do a SFTP session and grab any files.

The web site by the way is a WordPress site, so if there are any plug-ins that deal with data transfers along these lines, that is an option as well.

Any thought's or ideas?

Cloud Class® Course: CompTIA Healthcare IT Tech
LVL 12
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

A friend, who knows WordPress but not what goes on "under the hood" created the basics of a site http://www.californiamedicarequote.com/.

He chose to use WordPress plugin "Calculated Fields Form". See attachments. One shows to form on the site, the other the "settings" on the form builder.

The zip code needs to be a pulldown list taken from a table in a MySQL database. The ages are 65 - 90.

Based on the zip code, age & sex, the rate they will charge will be calculated from a lookup in another table in a MySQL database.

The basic question is can I populate zip code field & do the other calculations as I describe in the context of the Calculated Forms Field?

I am getting the Wordpress error

 "TypeError: $ is not a function. (In '$( "#the_cat" )', '$' is undefined)",

here is my code

<select id="the_cat" name="the_cat"  data-validation="required" >
                  <option value="" selected >Please Choose</option>
                  <option value="1"  disabled >1. Landscape Architecture Activities</option>
	  <option value="2"  > &nbsp; &nbsp; a. Non Social Event - (1HR: 1CE)</option>
	  <option value="3"  > &nbsp; &nbsp; b. Social Event - (1 CE per Event)</option>
	<option value="4"  >2. Relevant Educational Programs - (1HR: 1CE)</option>

<div id="the_hours_div" class="row" style="display:none;">
                  <div class="large-3 columns">Hours: </div> 
                  <div class="large-9 columns"><input type="text" name="the_hours" value=""  data-validation="required"   ></div>

  jQuery('#the_cat').change(function() {
		if( ($(this).val() == 4) || ($(this).val() == 5) || ($(this).val() == 6) || ($(this).val() == 7) || ($(this).val() == 16) )
		}   else   {


Open in new window

I am using Sydney Theme and want the background color for the main nav menu to remain at all times - not fade in when scrolling down.  This is because it's hard to read the menu items over the photo slider when first arriving on the website.
I have a WordPress store I need to change the url of the add to cart button how do I do this
if have a wordpress website that uses mysql database. there is tables called wp_2_wcmp_products_map, wp_3_wcmp_products_map and so on

i want to search all the tables with the same name something like this wp_%_wcmp_products_map how can i do this.
i have a wordpress woocommerc site that has multiply stores and i need to do the following

What I need done.
 For example there is a product called Rock paper tee. There is a main site witch is sfundp.org and two stores one http://sfundp.org/campendeavor/ and http://sfundp.org/h4h/ they both have the product. What I want to do is search for the products in both store and display the product information and which stores have the product.  I know I will have to do custom programing.


WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.