[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

WordPress

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

Hello,

I'm creating a flower shop and I ran into an issue.

The webshop is for a local company, with only one physical store. This means that we cannot ship fresh flowers across the entire country.

This means, that we only ship to a select region close to the store.

My question is:

How do make it so that people get a pop-up when they want to buy fresh flowers from a region (based on postal code) that we don't deliver too?

In psuedo code it would look something like this:

IF order HAS product category FRESH FLOWERS AND customer_address IS NOT WITHIN product category shipping range > customer can't buy
IF order HAS product category FRESH FLOWERS AND customer_address IS WITHIN product category shipping range > customer can buy

IF order DOES NOT HAVE product category FRESH FLOWERS AND customer_address IS WITHIN shipping_countries > customer can buy

Open in new window

0
Exploring SQL Server 2016: Fundamentals
LVL 12
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

This is a follow-on to this question https://www.experts-exchange.com/questions/29120630/How-To-Enable-Rewrite-On-Linux-2.html - I followed the advice but forgot that wordpress will overwrite what is within the wordpress block so I am now moving it out of the block.

# END W3TC Page Cache core

RewriteCond %{QUERY_STRING} controller=product [NC]
RewriteCond %{QUERY_STRING} id_product=26 [NC]
RewriteRule ^/?index\.php$ /product/geranium-15-ml-100-pure-essential-oil/ [NC,R=301]

RewriteCond %{QUERY_STRING} controller=cms [NC]
RewriteCond %{QUERY_STRING} id_cms=([0-9]+)\%3F [NC]
RewriteRule ^/?index\.php$ /index.php?controller=cms&id_cms=%1 [NC,R=301]

RewriteCond %{QUERY_STRING} controller=product [NC]
RewriteCond %{QUERY_STRING} id_product=([0-9]+)\%3F [NC]
RewriteRule ^/?index\.php$ /index.php?controller=product&id_product=%1 [NC,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Open in new window


The first re-write rule produces this error:  

https://gyazo.com/9741f64223879ee3f42407f1985e4d5e

The other 2 rules work fine so why is this rule not working and producing this error?
0
Hello, I have a WordPress site that is giving me an error ( Fatal error: Call to undefined function wp_doing_cron() in  on line 126) I tried to login to wp-admin and get the same error. Any suggestions on a direction to fix this?
0
I need to search for an order in my WooCommerce back office by email address.  I can see the email address in wp_users but don't know how to put a name to the email address.  Is there a plugin or mysql code that will accomplish that?

Thanks,
0
I installed Wordpress on IIS 10 on windows server 2016. Everything works fine. Now I need to make sure the wordpress is secure, I can make all the core files read only which is what i did, but  in doing so I have to manually update wordpress or change the rights update and change it back.
Wordpress has a bunch of methods to secure it https://codex.wordpress.org/Hardening_WordPress, but do I set these security measures on IIS.

Thanks
Manoj
0
So i have a site. www.lifewalktravels.com

Its a wordpress site. Its a travel site.

So i am trying to embed a flight booking search form on this page.

http://lifewalktravels.com/test

The Feeds site has given me the codes and instructions but i cant get it to work.

They gave me a wordpress version and a non wordpress version.

I tried both but the form wont display in the page.

I have followed the instructions, created a .js file and called it on the page with the given code yet nothing.

The feed site manager is unwilling to to help.

I have attached both codes here.

Can someone help me, i can also provide a login to wordpress, if needed.


=======================
Lifewalktravels-wordpress.txt
Lifewalktravels-non-wordpress.txt
0
Pagespeed has indicated I need to change my images from png and jpeg to a next-gen format.  I found a place online that converted my png to jpeg 2000.  Now I need to know how to load both files rather than just the one for my images to be optimized.

I am using Wordpress and I don't see a means to include both files when I want to insert the image in a page.

https://gyazo.com/7c1b5f47001351ce8f82845ef05d07bc

Please tell me how to do this or tell me another means to get my images in next-gen formats.

Thanks,
0
WordPress site getting SPAMMED, not sure how to stop it.

My website, FortressHarvard.com

has a Download button, and when you fill your Name and Email, then click the button, you get an email with the URL to my book's Preface and Chapter 1. Also, I get an email to my "info@" email's inbox with the name and email of the person requesting the downloading.

I am getting spammed there, by some sort of robot, and do not know how to stop it.

This started yesterday morning, and continued every few minutes, non-stop. I even added a CAPTA requirements this morning, but that had no impact.

How do I stop this SPAM?

Thanks
0
Hi Experts,

I'm after recommendations for someone or a company that can go through my Wordpress created website for Google Seach Engine Optimization and do the optimization for me at a reasonable price. I know very little about SEO apart from the purpose and importance of it. How to implement it on my site though, is beyond my own technical skills and experience.

I know that "reasonable price" is a subjective term and can't give a price that I'm willing to spend at this stage, except to say that I'd like to spend as little as possible :)

I'm open to all offers from both Experts Exchange members who have personal experience with doing this sort of thing, as well as recommendations from members who have personally used the services any companies they recommend I contact.

Thanks in advance for any offers and/or suggestions.

Regards, Andrew
0
Hi,
I need to make some changes to a plugins js file and I want to do it so that it's not overwritten on any plugin updates

The file I am trying to override is  wp_enqueue_script( 'dokan-script' );

// store and my account page
        if ( dokan_is_store_page() || dokan_is_store_review_page() || is_account_page() || is_product() ) {

            if ( DOKAN_LOAD_STYLE ) {
                wp_enqueue_style( 'dokan-select2-css' );
            }

            if ( DOKAN_LOAD_SCRIPTS ) {

                self::load_form_validate_script();
                $this->load_gmap_script();

                wp_enqueue_script( 'jquery-ui-sortable' );
                wp_enqueue_script( 'jquery-ui-datepicker' );
                wp_enqueue_script( 'dokan-tooltip' );
                wp_enqueue_script( 'dokan-chosen' );
                wp_enqueue_script( 'dokan-form-validate' );
                wp_enqueue_script( 'speaking-url' );
                wp_enqueue_script( 'dokan-vendor-registration' );
                wp_enqueue_script( 'dokan-script' );
                wp_enqueue_script( 'dokan-select2-js' );
            }
        }

        do_action( 'dokan_enqueue_scripts' );
    }

Open in new window


Then further down in that file its calling the dokan.js file I want to override...

'dokan-script' => array(
                'src'       => $asset_url . '/js/dokan.js',
                'deps'      => array( 'imgareaselect', 'customize-base', 'customize-model', 'dokan-i18n-jed' ),
                'version'   => filemtime( $asset_path . '/js/dokan.js' ),
            ),

Open in new window


Can someone help me as I'm not sure where to start or where to place my code?

Many Thanks,

Andrew
0
PMI ACP® Project Management
LVL 12
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Hi Experts,

When browsing through https://www.aces-project.com/, at times its slow.

The hosting company says its not the server, but I'm using the Appointment theme in WordPress with minor adjustments.

I've used the same theme on https://www.atsinlaw.com/ and http://www.southerntime.ca/ with a lot more adjustments, and they are faster.
0
For some reason, my server is hitting wp-admin/admin-ajax.php every second.  Even if I close every tab in the browser related to that site it won't stop accessing that url.  I have  narrowed it down to using only one of my ipV6 ip's.  I have tried the code below in functions.php which I put in the child theme's functions.php, did a restart but still it keeps accessing.  I installed Perfmatters and that hasn't stopped it and I installed the Heartbeat Monitor plugin and that hasn't stopped it.

This is taking down my server with that much activity and I can't seem to find a connection since I didn't know this was going on because I hadn't looked at the access_log for several days.  I have resorted to a cron entry to restart apache 2.4 every 5 minutes.

This is the code I tried in the functions.php

*/
add_action( 'init', 'stop_heartbeat', 1 );
function stop_heartbeat() {
 wp_deregister_script('heartbeat');
}
/**

Open in new window



I am on Linux 2 with Wordpress 4.9.8.

Please help me get this stopped.

Thanks,
0
I have a wordpress website on AWS EC2 Ubuntu Linux. I am not good in this department of coding but I get by. I just used created a Load Balancer and attached it to my EC2 instance. I am trying to force SSL (HTTPS) on anyone who visits my site. I have 90% of it correct.  if you visit:

https://www.Example.com
www.Example.com
http://www.Example.com (Redirects to https://www.Example.com)

it works perfectly with Secure. But if you go to
Example.com
http://Example.com

then it goes to a UNSECURE site. and stays on Example.com

In my ".htaccess" file at the very top I have the code below.  So what is the problem? I thank you for the help.


#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^Example.com [NC]
RewriteRule ^(.*)$ https://www.Example.com/$1 [L,R=301,NC]

# Begin force ssl
<IfModule mod_rewrite.c>
# RewriteEngine On
 RewriteCond %{SERVER_PORT} 443
 RewriteRule ^(.*)$ https://Example.com/$1 [R,L]
</IfModule>

Open in new window

0
I am looking for a Wordpress plugin for my company's private Intranet Wordpress site that allows users to submit a question to administration/human resources anonymously and inform the moderator that a question has been submitted via email if possible.  The objective is to  allow the moderator to use the plugin to review the question and edit as needed (removing incendiary remarks or references to associates) and then post a response to the question for all users to see.  There should be no further discussion on the question so it shouldn't be considered an open forum type of a situation.  I would like the result of the questions and answers to be made available to everyone on the wordpress site if possible.  it could be as simple as just listing questions and answers by date submitted.

Can you make a recommendation for a plugin that would take care of this function for me?
0
I have a wp site that is working fine on my windows production server, site is called jobs.org ( as an example).  I was asked to create the same site on the dev server so I copied over the wp files and called site dev.jobs.org . The same mysql database is still being used.  When going on the dev site I am getting:

PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 1792 bytes) in \\******\SITES\dev\jobs.org\wp-includes\load.php on line 747

Can someone please explain what I am doing wrong? Is there some config change that has to be made? Is it necessary to create a second mysql database?

Thank you.
0
Wordpress form loads with endless loop.  After I modified a Wordpress form, it just goes through an endless loop when loading and does not allow input.  I don't remember what changes I made to the form that started the problem. The URL for the form is: https://www.barnwellmd.com/intake-questionnaire/ When I preview the form in Wordpress, it works properly.  I don't know how to extract the form from the Wordpress system to allow you all to work on it.  Any help will be appreciated.
0
I have a Synology DS918+ and have read various blogs/articles on how to create serparate instances of Wordpress so that multiple websites can be hosted without sharing a database.
These are a few of the resources I've used:

http://sridhar.blog/install-multiple-wordpress-sites-synology-nas/
https://www.oppedahl.com/wordpress/
https://synologywordpress.blogspot.com/

Each takes me very close but I can't get past the dreaded "HTTP ERROR 500"

I have managed to get as far as http://mytestdomain/wp-admin which prompts me for the database name, the username and password but I can't get past this point - each time I get HTTP ERROR 500

I've pretty much run out of things to try.
Any help would be greatly appreciated.
0
I have a WordPress site on my domain mydomain.com.  It works fine.
I have a simple ASP.NET project that I want to publish on the same domain, but in a sub-folder: mydomain.com/data.
How do I do this?  Each of the sections of the site (the WordPress section and the ASP.NET section) has their own web.config file.  So they have to coexist properly.
If I just transfer the published files for the ASP.NET section to mydomain.com/data and I go to  mydomain.com/data/WebForm1.aspx I just get Server error 404 page not found.  
Help!
0
followup question to Website Development Case Study (https://www.experts-exchange.com/questions/29124521/Website-Development-Case-Study.html)

I plan to get a Review Website off the ground (with affiliate marketing the right way).

WordPress is set up on my site: https://wireoo.com/

Now, my question is ...

I am ready to customize the website.  I am attaching a video of Dashboard.generatepress.swf

How do I proceed? I upgraded to Generatepress Pro. Will this be a problem?
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

WORDPRESS
Genesis Child Theme: Executive Pro (ExPro)
Plugin: Design Palette Pro (DPP)
Hosting: Unix (Hostgator Shared Server)
Vocabulary Terms: Page, Slug, Category, Post (Specific meanings according to Wordpress)

BACKGROUND
My site has been using Wordpress "Pages" mostly (as opposed to Posts with their corresponding Category pages). So the navigation menu consists of only Page names (and their "slugs") as the menu links.

Now, however, I am replacing the News Page with the News Category for one of those menu items. So, I want the menu link, News, to land on the Category page by that name, not the previous Page page by that name.

Previously, the News menu item was pointing to a Page called "News" and whose "slug" (or permalink) was, "/news/".
Currently, I have renamed those slugs. The News Category "slug" is simply, "news", and I renamed the News Page slug to, "/news-page/".

QUESTION
Is it possible to insert the News Category page into the main navigation menu instead of the News Page page? Please provide instructions how to do it using DPP if possible. Otherwise, I will accept child theme code modification if necessary.

I attempted to redirect the "/news-page/" slug to "/news/" in the .htaccess, but it  does not work if the category page contains too many posts that you must go to page 2 and page 3 etc. It breaks that mechanism.

In the DPP plugin, I can't find an option to do what I want. …
0
I am hoping to find an expert who specializes in creating websites that set up as affiliate review website using rss feeds and feedburners.  I really would like the inner working of this type of website and how I can create one. I have a builtwith link to a website that I know is using this type of technology here is the link https://builtwith.com/?https%3a%2f%2fthewirecutter.com%2f 

News is that RSS and Feedburners are a thing of the past but, website are still using them. And, making a kill.

Can I get a little help here with this question?  Step by Step, pls. Sorry
0
followup question to Website Development Case Study (https://www.experts-exchange.com/questions/29124521/Website-Development-Case-Study.html)

I plan to get a Review Website off the ground (with affiliate marketing the right way).

WordPress is set up on my site: https://wireoo.com/

Now, my question is ... I want to design a website like Digital Trends https://www.digitaltrends.com/.  Is this type of site logically attainable? Or, will I be racked with major competition?  

When you look at Digital Trends Entertainment sectionhttps://www.digitaltrends.com/best-products/, there is a section of the website that is devoted to Online Movie Providers. I like that!

Am I going in the right direction with this review website?  

For the Appearance, I am starting with the header appearance. I want the text logo to begin the menu just like the two websites that I mentioned.

I want the header to be black in color with a mega menu.  Is this achievable for today? And, yes, I want to take small steps.
0
I am starting this discussion early.  I am motivated and obsessed with getting this website off the ground.

I have found myself with self-imposed errors of grand magnitudes.  

I want to get this website off the ground, so I am going to ask for help every step of the way.

1.  Now, I have gone to wordpress.org to get a theme called GeneratePress https://wordpress.org/themes/generatepress/
as advised by Expert Favor.

2.  Next, I have downloaded the Plugin Beaver Page Builder from https://wordpress.org/plugins/beaver-builder-lite-version/
as advised by Expert Favor.

3.  I am going to upload these files to my website http://www.wireoo.com.
I am going to make sure that the HTTPS is upgraded in a few hours for security and SEO.

I plan to get a Review Website off the ground (with affiliate marketing the right way).

Now, my question is where do I go from here.  I do not want to make any mistakes as I have in the past three months.
I, respectfully, ask that you be patient with me as I am taking small steps and in the learning stages.  Just be aware that I am passionate about this quest so, please do not take me seriously.  I laugh, sometimes, for I am embarrassed in some instances. Have a good day!
0
I need to add a link in the footer that says Site Designed by www.designer.com after the copyright notice. When I had the link in the footer it went to mydomain.com/www.designer.com. How do I add a link after the copyright notice? Here is the current code for the footer:
<?php echo ( get_theme_mod('wpre_footer_text') == '' ) ? ('&copy; '.date_i18n(__('Y','wp-real-estate')).' '.get_bloginfo('name').__('. All Rights Reserved. ','wp-real-estate')) : esc_html( get_theme_mod('wpre_footer_text') ); ?>

Open in new window

0
Hi, I have a site truenasreseller.com, and we have a bunch of packages for people to purchase.

But some of the items are priced at zero dollars, if added to the system. EG: https://www.truenasreseller.com/truenas/truenas-m40-s/

We want the items to only be purchased as part of a system, not to be purchased individually. Can you help?

It has to tell them if they try to check out that with a secondary item that they need to add a system to qualify for a product that has no charge.
0

WordPress

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.