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 have a WordPress site running a LAMP stack in AWS (Amazon Linux).

The version of PHP I have is:

PHP 7.0.33 (cli) (built: Jan  9 2019 22:04:26) ( NTS )

Open in new window

I noticed that the latest version of PHP is 7.3, available via the AWS Package Manager as:

sudo yum install -y php73

Open in new window

If I was to install this version of PHP are there any WordPress Configuration changed I'd need to make?

I have a Wordpress site on a LAMP Stack running in AWS. I have Let's Encrypt running to automatically update the TLS Certificate and I re-direct all traffic to the "www." instance for the purposes of SEO.

The site works as expected for EVERY browser EXCEPT Safari. What I mean is that I've tried Chrome, Firefox, Opera, Vivaldi and Internet Explorer. I made not changes to the Server itself and I'm a little perplexed as to what happened. Below is a screenshot from some testing I was doing using BrowserStack. This seems to be happening on all Safari browsers back to iOS7.

Any idea what's going on here? Is this fixable from my end?

My client has a WordPress website and was using CoinBase to collect BitCoin. Unfortunately there is a problem with coinbase and we need a different solution. If the solution can also work with WooCommerce that would be great, but at least something so that a donor can click a button and donate to my client.

Thank you.
Wordpress Theme Avada - trying to overwrite default behavior of main menu -

On this site I am working on the design called for ribbons on hover of the menu item which I was able to pull off with css - however when you get close to the edges of the menu item - The default behavior of the theme kicks in and the ribbons become squares

This is a link to preview the issue: http://carrolldistrib.wpengine.com/

This is my css I am currently using

/* Ribbon CSS  */

/* NOTE: Set Menu item Padding to 0 in Avada Theme Options  */

.fusion-background-highlight:hover, .current_page_item  .fusion-background-highlight {
    background: #a9252a;
    position: relative;
    height: 40px;
    margin:0 20px; /* Half of height */

.fusion-background-highlight:hover:before, .current_page_item .fusion-background-highlight:before,

.fusion-background-highlight:after, .current_page_item .fusion-background-highlight:after {
    border: 20px solid transparent; /* Half of height */

.fusion-background-highlight:hover:after, .current_page_item .fusion-background-highlight:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    top: 0;
    border: 20px solid transparent; /* Half of height */
    border-top-color: #a9252a;
    border-bottom-color: #a9252a;
    z-index: -1; /* Place triangles behind div  */
.fusion-background-highlight:hover:before {
    left: -20px; /* Half of height */

Our WordPress site contains a blog offering reCaptcha.  

Despite having reCaptcha in place, spam is coming through to our blog.  Of course, this is increasing the amount of time that we have to spend in administering our site.

We were having mail relay problems and IT created a new SMTP account. I wonder if that somehow is interfering with the reCaptcha... maybe it's tied to an older account. This spam stuff seems to have just started after the smtp account was updated

With all of this in mind, what is the means of filtering out spam from our blog in WordPress?

Thank you!  Much appreciated!

Software Engineer
Hey there, I have a ACF block which displays posts, with option to pick specific posts.  

The specific posts field is a true/false.

on line 26. how could i change the script to do this.

if true do this code.
<div class="blog-articles columns-4-4-4" data-count="<?php echo $count; ?>" data-type="<?php echo $type; ?>" data-cat="<?php echo $category; ?>" data-load-more="0">

	<?php $show_load_more_button = the_resource_posts($count, $category, $type, 0, $search, $specific_posts); ?>

Open in new window

If False - Do this code.
<div class="blog-articles columns-4-4-4" data-count="<?php echo $count; ?>" data-type="<?php echo $type; ?>" data-cat="<?php echo $category; ?>" data-load-more="0">

	<?php $show_load_more_button = the_resource_postsPR($count, $category, $type, 0, $search, $specific_posts); ?>

Open in new window

Original Script
$category = get_field('category');
$type = get_field('type');
$count = get_field('count');
$specific_posts = get_field('specific_posts');
$search = false;
$has_load_more_button = get_field('add_load_more_button');

//let URL variables override block choice
	$type = $_GET['type'];
	$category = intval($_GET['category']);

	$search = $_GET['search'];
//set category to current post if on a single post page
	$category = get_the_terms($post, 'category')[0]->term_id;

<div class="blog-articles columns-4-4-4" data-count="<?php echo $count; ?>" data-type="<?php echo $type; ?>" data-cat="<?php echo $category; ?>" data-load-more="0">

	<?php $show_load_more_button = the_resource_posts($count, $category, $type, 0, $search, $specific_posts); ?>

<?php if($show_load_more_button && $has_load_more_button): ?>

<p class="aligncenter">
	<a class="plumb-button load-more">Load more</a>

<?php endif; ?>

Open in new window

I have an Ubuntu server (18.04) running a copy of WordPress that I'm trying to access from outside my home network. I have port forwarding set up on the router and can access Apache quite happily. However, putting in the URL //xxx.ddns.net/wordpress results in my browser displaying the internal address of the server and, naturally enough, failing to connect. I'm pretty certain that there's something fairly simple that I'm missing. Allied to this is that I can't SFTP into the server from outside either. the connection is made but always fails with the password. Of course it all works fine on the LAN. Can anyone enlighten me as to what I'm doing wrong?

Hey there,  We have a cookie, setup in Google Tag Manager, which is supposed to follow a user through the site, and expire after 1 month.  

I.e  user clicks on an add,  goes to https://buildertrend.com/?source=dev-test.  Source Tag fires.
user then goes to any other page on the site, we lose the cookie value. Not sure why it is stripping the value ?

  //Get value from URL parameter "source"
 function getParameterByName(name) {
     name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
     var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
         results = regex.exec(location.search);
     return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
 // Set Cookie
 var cookieName = "sourcetag"; // Name of your cookie
 var source = getParameterByName('source'); // Value of your cookie
 var expirationTime = 2592000; // One month in seconds
 expirationTime = expirationTime * 1000; // Converts expirationtime to milliseconds
 var date = new Date(); 
 var dateTimeNow = date.getTime(); 

 date.setTime(dateTimeNow + expirationTime); // Sets expiration time (Time now + one month)
 var date = date.toUTCString(); // Converts milliseconds to UTC time string
 document.cookie = cookieName+"="+source+"; expires="+date+"; path=/; domain=." + location.hostname.replace(/^www\./i, ""); // Sets cookie for all subdomains


Open in new window


Can anyone give me a quick overview on how I can add Google Ads in WP, but also in general?

I know there a lot of plug ins, but can I filter out certain types of ads, like X-rated, and how do I get paid? Is it like monthly through PayPal?

Finally, can I add the Ads to a freshly-built site with no content.  I know the client will fill it up quickly. The website will be mostly in Macedonian using what I think its Unicode(?) characters (found under Language Settings --> Keyboards in most OSs), but some older content is using custom fonts that overwrite the Latin characters.
Google has detected a weird new hack on my site. they sent me an email about it with a link to the page


Now if I go to that URL, I end up at my 404 page.

but I do a google search of that link, it brings up a Japanese language search results on my site, yet clicking the link goes to a 404 page...

I check my server, it is clean,
no compromised files anywhere,
 no files changed recently,
error log has nothing to report,
 ithemes security detects nothing wrong.
 I log into worpdress, no posts or pages or anything.
All my index pages are empty
htacess is untouched
.well-known and cgi bin are empty

I did find a suspicious file 2 weeks ago and did a full security sweep, is it possible that Google is just 2 weeks late and showing that file that I cleand up 2 weeks ago?
Trying to get a div to slide in from the left and stick to the bottom of the page, after a 4 second delay on page load.

The div appears on page load, no delay, or slide-in effect.

<div id="slidebox" class="show modal">
    <!-- ACF ad url here -->
    <a href="#">
    <!-- ACF img here -->
        <img src="https://upload.wikimedia.org/wikipedia/commons/2/24/Ad-MediumRectangle-300x250.jpg" alt="-ad" width="300" height="250">
</div><!-- /.slidebox -->

Open in new window

#slidebox.show {
  left: 0;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
#slidebox {
  max-width: 300px;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: -430px;
  z-index: 10;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;

.show {
  display: block;

Open in new window

jQuery(document).ready(function($) {
  setTimeout(function() {
  }, 4000); // milliseconds. set to 10 seconds.

Open in new window

Getting the following error in my js script. :  Uncaught TypeError: $ is not a function

$(document).ready(function() {
    setTimeout(function() {
    }, 10000); // milliseconds. set to 10 seconds.

Open in new window

Not sure how to fix it?
Hi Experts,

My new client gave me the attached PDF post as content and I am wondering how would someone do it?

If I take a snapshot and save it as image, it is too blurry.

If I use a PDF to HTML online converter I get a lot of symbols like ~~0 instead of the percents

I tried the PDF Embedder, but I get Setting up fake worker failed: "Cannot read property 'WorkerMessageHandler' of undefined".

The best was the converter, and I go line by line and edit the symbols, but the HTML is not in order as they use absolute positioning. I can do it, but I cannot help wonder if this is the proper way or if there is a better way.finra-infographic---the-financial-ch.pdf

I am coding a custom Wordpress query, I want my keyword field to search post title, content and meta_queries..  The meta_query portion is working fine, but it isn't searching title and content. here is my code

$args = array (
    'post_type'			=>'resources',
    'post_status'       => 'publish',
	'posts_per_page'    => 100,
    'order'      => 'ASC',
    'search'     => '*' . esc_attr( $this_key ) . '*',
    'meta_query' => 
			'relation' => 'OR',
					'key'     => 'feedback',
					'value'   => $this_key,
					'compare' => 'LIKE'
				'key'     => 'bfi_steps',
				'value'   => $this_key,
				'compare' => 'LIKE'
				'key'     => 'agency',
				'value'   => $this_key ,
				'compare' => 'LIKE'


Open in new window

I have an xampp (Apache) server setup such that the Wordpress files are in the following directory:

If I use http://localhost/wordpress the site works perfectly well
I need to be able to type in the public website address such that the original request is diverted to the Wordpress/Index.php file rather than typing http://mydomainname.com/wordpress

ie. http://www.mydomainname.com
This should then reference the Wordpress/Index.php file

Please can someone tell me how to achieve this - .htaccess?, redirect ?
I need clear instructions please as I am not familiar with the apache server setup
My javascript is dead in the water. I'm trying to add a slider to my page. I keep getting "

I've got the html in a html block and I can see it. Somehow I'm enqueuing my Javascript wrong, or not able to do it in stealth mode. I have no errors in the console.
Here's what I have in my functions file:

function paulschurch_child_enqueue_scripts() {
		$parent_style = 'generatepress-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
    wp_enqueue_style( 'lightslider', trailingslashit( get_stylesheet_directory_uri() ) . 'css/lightslider.css' );
	if ( is_rtl() ) {
		wp_enqueue_style( 'generatepress-rtl', trailingslashit( get_template_directory_uri() ) . 'rtl.css' );
		wp_enqueue_script( 'lightslider', trailingslashit( get_stylesheet_directory_uri() ) . 'js/lightslider.js', array('jquery'), true );

add_action( 'wp_enqueue_scripts', 'paulschurch_child_enqueue_scripts', 100 );

function paulschurch_child_add_scripts() { ?>
			(function($) {
	                slideMargin: 0,

Open in new window

When you go to page "eliesgrill.com"  you will see the below show up before the page.  Any suggestions how to remove this, and what it is?

Notice: The called constructor method for WP_Widget in cleanretina_custom_tag_widget is deprecated since version 4.3.0! Use


instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404

Notice: The called constructor method for WP_Widget in cleanretina_Widget_Adsense_Ad is deprecated since version 4.3.0! Use


instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404

Notice: The called constructor method for WP_Widget in cleanretina_Widget_ad_block is deprecated since version 4.3.0! Use


instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404
Hi Experts,

Can anyone recommend a good lightweight WP Plugin for slider.  I need it to be 100% of its container and forgiving of the image size. Perhaps concentrating on the center and cropping what’s extra on the sides.

Hi Experts,

In my WP, I have a custom theme, and to load FA 4.7.0 I start off as :

<!DOCTYPE html>
    $theme_url = get_theme_file_uri();
    $main_url = get_home_url();
        <meta charset="UTF-8">
        <link rel="stylesheet" id="mpc-style-css" 
              href="<?php echo $theme_url; ?>/style.css" type="text/css" media="all">
            /* FONT PATH
 * -------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
        <link rel="stylesheet" id="fa-css" 
              href="<?php echo $theme_url; ?>/font-awesome.css" type="text/css" media="all">

Open in new window

Where, Lines 19-29 I moved from the original font-awesome.css just to get the path right.  This works, but as now I would like to use new icons, like fas fa-cross, I downloaded FA 5.12.0, but I don't know how to go about it and upgrade?

I see there more .css and font files, and the font-awesome.css file does not start with the src statements as the old one did.

Please note, I'm using a theme from scratch for very specific purposes, and don't want to get into why. I just need to upgrade FA

Thanks in advance.
I am using a Plesk control panel
I am not so familiar with this type of control panel
I Click on the domain name I want to work on
I then Click on the Wordpress link in the top right hand side of the Plesk panel
I then Click on the database tab - I see the current database name associated with this wordpress site

If I have another site in the httpdocs folder in a sub folder called wordpress2 with wordpress files
How do I associate a database with this second site

If I navigate to this site I get a error:
"error establishing a database connection"

If I look at the database name currently associated with the site parent (If I am in the parent site - clicked on domain name) and click on the wordpress link in the top right), the associated database name is slightly different from the name in phpmyadmin
If I am in the parent site (click on domain name)  and add a database it is not being associated with anything

Sorry to be so vague but I am not sure how plesk is actually working
Help please?
My client has domain on Wordpress and now he want to point dns to another ip using ms server

And in the middle he wants to use Cloudflare to get free ssl

Do u have any reference I can follow
Hi Experts,

How can I use Viewport sizing in WP, so there's only one design for desktop, mobile and tablet?

I know that this is an outdated method, but "the customer is always right."

My favorite theme is Appointment Pro that I use at www.aces-project.com, but how would I approach it with this or any other theme? The site will be similar to http://www.povardarska-eparhija.org.mk/pe/

Thank you
When I look at my site url in wordpress I see that when I have a category page, no matter what the middle of the url is, wordpress still loads the correct category archive based off the last folder on the url



will return the same posts as


Even thought gibberish is not a valid category on my site.

A. Is there anything to do to stop that and it should return a 404 when the middle category doesn't exist

B. Somehow the google crawler, it picking up on this problem and my site is generating duplicate categories in the link so my crawl directly is just growing exponentially. How can I stop that?

The list is showing

Hi guys,

I want to add a video instead of the 3 images here on the slider to a video thats attached but keep the overlay that is going over the image at the moment to overlay the video, is that possible?
Using Wordpress on a LAN (ip range 10.0.0.x/8) on Ubuntu 18.04. I'm trying to upload a plugin but keep getting a message that I can't because it exceeds the 2Mb file size limit as set in php.ini. What I've done up to now is to edit the htaccess file (it needed creating), the php.ini file (also needed creating) and the wp-config.php file. All the files are owned by the administrator user and have the appropriate rights - I think. chmod 777 applied across the lot. However phpinfo,php still reports the max file upload size as 2Mb, the file attached has the details outlined above. Is there anywhere else this value is being set? I've grep'ed the entire site and can't find a relevant response, it's mentioned but only as a reference.


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.