WordPressSponsored by Jamf Now

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

Hi Experts,

Tomorrow I need to transfer a new WordPress site from my localhost to live, and I wanted to get some feedback on the easiest way to this, including design, content and settings?

In my mind I need to

1- Install WP Live
2 - From local export the db as .sql
3 - Within .sql search and replace http://localhost with http://www.domain.com, then replace the db on live site.
4 - FTP my parent and child theme
5 - FTP my content directory
6 - Install any plugins

Am I missing anything?

Thank you,

I am trying to echo the results of a Wordpress query in a loop. My query seems to be working because if I do a var_dump I get pages and page of results, but I can't seem to echo the first name

$user_query = new WP_User_Query( array( 'meta_key' => 'member_level', 'meta_value' => 'full' ) );

foreach ( $user_query as $my_users ) {
echo $my_users->first_name;

Open in new window

Hey Experts,

I'm trying to solve a minor problem on our websites locations map  

If you are on the location page, and scroll down, and click on any of the locations, the page will scroll up to the map, and show an infobox of the location. The only problem is that does not scroll all the way to the top, thus cutting off the top of the infobox.  I'm not sure where to start with this, is it a css problem, JS problem?

Could somebody help me fix this, please?

Thank you
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.

Regarding Joomla: Before I install & start playing with Joomla, can anyone recommend some reading (online or book) for someone who wants to learn JOOMLA who already knows Wordpress, PHP coding, MVC Framework, Web Apps, Linux command line, Servers, etc?
(I've never used Joomla, but a quick look over the Joomla books on Amazon didn't pop out any "Quick Start Joomla" type books that I could tell)
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?
Hello, I just created a Wordpress site on go daddy servers, I need to set up an SSL certificate. I just contacted go daddy and made the upgrade but they are telling me now I need to install an add-on in word press to ensure the visitors to properly connect using the certificate I understand there are a lot of add-ons to complete this does anyone have any suggestions of a good one possibly free and if I should have any other concerns
I'm currently working on customizing a WordPress site that has child theme activated, and I have these 2 different JavaScripts that are being injected into the footer:

<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 clarify .. these 2 lines of JavaScript are NOT hardcoded into the child theme's footer.php file .. they're being injected into the footer programatically via the wp_footer() method.

How would I go about properly de-registering these 2 JavaScripts, .. and enqueuing my own JS files that I've copied over to my child theme -- WITHOUT applying any changes directly to the parent theme files?  

More specifically .. I'd like to replace the 2 lines of JavaScript (above) with these 2 lines below (ie: note the different "houzez-child" theme folder name):

<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

It's my understanding is that this can be accomplished by adding some code to my child theme's functions.php file, .. but so far I haven't been able to figure out the proper way to do it.  Please advise.

- Yvan

How do I enable LDAP over SSL for my windows 2016 server.
I have Wordpress running on Windows server 2016, IIS10, And I got the LDAP to work, now I need to make it work over ssl. how can I do this.

How do I display an Office365 calendar on a wordpress webpage
Moving site from xampp to IIS, currently copied everything and have set it up locally pointing to the same database.

I cannot get to the backend (wp-admin) of wordpress, Not sure why, I even tried removing all the plugin still the same thing.
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.
I found some old code in functions.php which creates a shortcode for future events.  I'd like an option in the shortcode to include the excerpt (and if not there, a portion of the content). How do I add that?

function upcoming_events($atts){
    $ret = '';
    //wp_query get upcoming events list titles.
    $args = array(

        'post_type' => 'events',

        'posts_per_page' => 6,

        'post_status' => 'future',

        'order' => 'asc'


    $the_query = new WP_Query( $args );


        $ret .= '<section class="widget widget_text"><div class="widget-wrap"><div class="textwidget">';

        while ($the_query->have_posts()){


            $ret .= '<span>'.get_the_date('m/d/Y').' - <a href="'.get_the_permalink().'">'.get_the_title().'</a><hr/>';


        $ret .= '</div></div></section>';



    return $ret;

Open in new window

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

CSS is all messed up on site https://mediastreet.ie/media-news/

Every other page looks fine as in the NAV Bar looks fine, i dont know whats happened?

Can anyone help out?
Wordpress I moved my site from Xampp to IIS 10, currently running the server copy as a local version for test it, but my images are not loading. and when I login the redirect back to the page not working as well any idea how to fix this.
Hi guys,

I have been trying to remove an ad from a site we manage but i cant find it anywhere in the code, its like its being inserted from Google.

It shows in IE certain times and it shows on Firefox the odd time, it wont show on Chrome for me as i am using DuckDuckgo extension

but it is showing here on IE


i really want to remove it
Hi Experts,

I have the following table
<table class="tblCases">
<td style="text-align: center;">Dispatch &amp; Back Office Application</td>
<td style="text-align: center;">Integrated E-Commerce</td>
<td style="text-align: center;">Inventory &amp; Financial System</td>
<td style="text-align: center;" class="tdSectionHead"> Problem</td>
<td style="text-align: center;" class="tdSectionHead">Problem</td>
<td style="text-align: center;" class="tdSectionHead">Problem</td>
<td style="text-align: center;">Company offering different tours, with multiple of drop-off and pick-up locations used numerous of Excel files and paper records needed a software system to help streamline their processes.</td>
<td style="text-align: center;">Online company selling under different brands and prices could not adjust prices, promotions without the assistance of a programmer, and sales were only tracked via email.</td>
<td style="text-align: center;">Produce Importer relied on Excel files, manually adjusting formulas to track inventory of perishable goods imported by daily flights.</td>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
<td style="text-align: center;">We created a web-based solution tracking pickups, drop-offs, passenger manifests, process 

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 ?
Script on site, is saying expired


How can i change the time on the site up until Thursday it was a countdown timer for a week, i was wondering how do i change it here on https://bodyfirstpreppd.ie
Running WordPress site on IIS 10 from localhost using actual host-name simultaneously with the real site.

I have a site running on Apache ("site.com", ip: IP1) connecting to database ( DB1)

I am planing to move the site from apache to IIS10, I already moved the files.
Can I have a URL ("site.com", looking at localhost not going through internet) connecting to the same database ( DB1)

So that I can make sure its working before connecting the real IP. Not sure if this makes sense.

I am trying to move a local WordPress site to a GoDaddy MySQL server.

Local Server version: 5.7.19 - MySQL Community Server (GPL)

GoDaddy version: 5.5

When I try to import the SQL I am getting this error on GoDaddy's PhpMyAdmin:

Can anyone help me out?

Thank you!

WordPressSponsored by Jamf Now

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.