[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

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
Exploring SharePoint 2016
LVL 12
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

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
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
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 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
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 trying to use an SSL certificate on a Wordpress Multi-site.

I just installed and SSL certificate for my primary domain, https://simplifychurch.com.  I had assumed (albeit probably incorrectly) that the certificate would cover the network of sites since they all are on the same host, etc.  

I checked my site at http://learn.simplifychurch.com and it gives the not secure error warning.

I'm a bit over my head now in testing what needs to go where, I used a WP Plugin to work on forcing the SSL to the site, and have set it up on each site however the Learn.simplifychurch.com domain is still not working correctly.

Just need some guidance and advice on how to adjust.  I guess I could get a wildcard cert if necessary as there is no way on my host to install an individual certificate to each network site.
0
Okay, I'm creating a web app in WordPress and I'm trying to allow users to draft a post from the front end. The posts are custom post types called "lessons". I have a dashboard that lists all the lessons the user has created and I have a deactivate checkbox and link under each lesson. I got the drafting functionality to work, however, when I draft only ONE lesson, they all get drafted.

Here's my code:

In the Template:

<span class="deactivate-link"><form action="" method="POST" >
			<input type="checkbox" value="deactivate" name="draft"> <label for="deactivate">Make inactive</label>
			<input type="submit" value="Deactivate">
		</form>
	<?php toDraft($post->ID); ?>
		</span>

Open in new window


In the functions.php:

//function to update post status to draft
function toDraft($pid){

$toDraft = $_POST['draft'];
   if($toDraft == 'deactivate'){
      wp_update_post(array('ID' => $pid, 'post_status'   =>  'draft'));
  }
}

Open in new window


Member-Dashboard---Cazooz-SB.jpg
0
CompTIA Security+
LVL 12
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

I'm using Wordpress with Form 7 I want to create a drop-down menu that when selected will populate multiple fields (non editable) this fields must be visible by the user. 2 of the fields will have links which should be clickable and open in separate tabs. For example:  User Selects their favorite color, I need their selection to display (Blue) then I need another field that will be populated with (Light Blue) Another with (red) and another with a link (www.link.com)
0
I try to list posts from a custom taxonomy, but return an error by api rest v2.

https://medicplay.com.br/wp-json/wp/v2/taxonomies/vlogger_series
0
I try to list categories inside, hierarchy. But I just managed to list it in a simple way.
<?php 
                        
                        $taxonomy = 'portfolio_category';
 
                        // Get the term IDs assigned to post.
                        $post_terms = wp_get_object_terms( $post->ID, $taxonomy, array( 'fields' => 'ids' ) );

                        // Separator between links.
                        $separator = '<br>';

                        if ( ! empty( $post_terms ) && ! is_wp_error( $post_terms ) ) {

                            $term_ids = implode( ',' , $post_terms );

                            $terms = wp_list_categories( array(
                                'title_li' => '',
                                'style'    => 'none',
                                'echo'     => false,
                                'hierarchical' => true,
                                'taxonomy' => $taxonomy,
                                'include'  => $term_ids
                            ) );

                            $terms = rtrim( trim( str_replace( '<br />',  $separator, $terms ) ), $separator );

                            // Display post categories.
                            echo  $terms;
                        }
                        ?>

Open in new window

0
I'm looking for a sql query to pull any woocommerce products or wordpress pages edited by a certain Wordpress user.  Ideally I'd get the post and the post revision along with the user that I'm targeting.

I did some Google'ing but couldn't find what I was looking for.  Any ideas?

Thanks!
0
I've exported an excel spreadsheet to html and uploaded the file to my wordpress site however when I open the url the spreadsheet is not centered on the page. it is set to the far left. How do I center the pages. I'd also like to have the links on the bottom to the other sheets be at the top instead of the bottom but that's not a deal breaker.
0
I have a Wordpress / WooCommerce query to sort All Products by published date.  For some reason my query won't work.  It just returns everything.  I think it is because the Query is not looking for 'product' in the wp_posts table?  Or is it because the $wp_query only searches in postmeta table?

public static function woo_product_filter_order_query( $wp_query ) {
		global $pagenow;
		if (
			is_admin()
			&& $wp_query->is_main_query()
			&& isset($_GET['post_type']) && sanitize_text_field($_GET['post_type']) =='product' 
			&& ! empty( $_GET['date_from'] )
			&& ! empty( $_GET['date_to'] )
		) {
			$from = explode( '/', sanitize_text_field( $_GET['date_from'] ) );
			$to   = explode( '/', sanitize_text_field( $_GET['date_to'] ) );

			$from = array_map( 'intval', $from );
			$to   = array_map( 'intval', $to );

			if (
				3 === count( $to )
				&& 3 === count( $from )
			) {
				list( $year_from, $month_from, $day_from ) = $from;
				list( $year_to, $month_to, $day_to )       = $to;
			} else {
				return $wp_query;
			}
			$wp_query->set(
				'date_query',
				array(
					'after' => array(
						'year'  => $year_from,
						'month' => $month_from,
						'day'   => $day_from,
					),
					'before' => array(
						'year'  => $year_to,
						'month' => $month_to,
						'day'   => $day_to,
					),
					'inclusive' => apply_filters( 'woo_product_filterby_date_range_query_is_inclusive', true ),
					'column'    => apply_filters( 'woo_product_filterby_date_query_column', 

Open in new window

0
Using CSS, how can I hide the links that say Create an Account  or  Log In and when logged in it says My Account • Log Out

The webpage is here: https://ccdenver.org/givethanks/

Any ideas experts?
0
Wordpress / Yoast.  i have a lot of Draft Pages in my wordpress CMS.  Yoast will not put them in the sitemap if I mark them to be excluded, but there are too many to go through.  They are all in one category.  I want Yoast to not place a specific category (or taxonomy, which ever is easier) in my XML sitemap.  The reason is, Google will index Draft and private pages and I don't want that because they will come up 404.

How do I exclude a category from the XML sitemap in Wordpress

I found this but I dont think it is what I want

/* Noindex all posts in a category */
add_filter("wpseo_robots", function($robots) {
  if (is_single() && in_category(array(100))) {
    return "noindex,follow";
  }
  return $robots;
});

Open in new window

0
Need assistance or guidance on the beast way to convert our Printed Catalog onto our website into Woocommerce.  Our Catalog product data (Title, Part#, Description, and 4 columns of pricing) are in excel and need to import into Woocommerce using WP All Import Pro plugin (or another way), but I am not sure how to format the excel files appropriately and also having issues figuring out how to to import 4 columns of pricing since woocommerce only allows one "Regular Price".  All excel files are formatted the same.  Attached is our printed Catalog PDF.  I need to import all this data into Woocommerce but for now I am happy with only importing the Excel data, I have 150+ Excel Files which all are formatted like this:  

I also attached a sample Excel File "Amtrol RO Tanks"
Catalog Excel File
Here is the staging website http://goodwaterwarehouse.com/gww_new/catalog/

Our Catalog has 12 Product Categories and within each of those are more separate Categories. Just look at the Table of Contents in the attached PDF.
GWW-Catalog-2018-USA-low.pdf
Amtrol-RO-Tanks.xls
0
HTML5 and CSS3 Fundamentals
LVL 12
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

I've set our web.config file on a WP site we've built to have secure cookies but all tests we've run online suggest cookies are still not secure. The httpOnly setting also hasn't taken effect.

The code snippet from the web.config is below and always the PHPSESSID cookie doesn't have these settings

<system.web>
    <httpCookies httpOnlyCookies="true" requireSSL="true"  />
</system.web>

Open in new window


What else do we need to look at to ensure this setting takes effect?

Thanks
Iain
0
Hello. I updated my wordPress site from 4.6.1 to 4.9.8.  I did it manually meaning I downloaded the zip file and replaced my wp-includes and wp-admin folders with the new ones.  Then I just copied the wp-content folder to mine.  I did this after deactivating all the plugins. Once did this I went to the wp-admin url and the log in no longer takes my password.  What do I do?
0
Hi Experts
On my Live site I am trying to add some new Fields to my pages Like Image text etc
but when added these Fields  in WordPress Pages it not appear on the Live site or Preview Changes however they appear in Wordpress Page  Editor
0
WordPress / WooCommerce Database is huge.  I'm helping with a store that over the years the database tables have become huge.  Literally millions of table entries.  Is there any way to get rid of data that is no longer needed in the postmeta table?  Is there old information that no longer needs to be stored?

I was told I can use the following in MyPHPadmin:
SELECT * FROM wp_postmeta pm LEFT JOIN wp_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;
DELETE pm FROM wp_postmeta pm LEFT JOIN wp_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL;

Open in new window


But if I do that, will I loos anything from my WooCommerce Store?
0
Wordpress Pagination
I've built a website related to crypto-currency . I am using coinmarketcap professional API for building a page which shows all cryptocurrency live data. For that i have a code for paginaitoh in php (File-). The code works successfully when run via Xampp (localhost), I get the required data-()
But when the same code is uploaded to wordpress page, it fails to work ( live data doesn't show up )-().
Hope any expert help me get through this. Thanks.
0
Cannot edit pages in WordPress and receiving and error "Sorry, you are not allowed to edit posts in this post type."
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.