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


Basically, for some reason, the slider is separated from the navigation bar and I can't find where I can fix this.

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 everybody.
I have a Wordpress website hosted in 1and1. Trying to display a live streaming using FV Player, if I enable HLS.js (as suggested) to ensure the video be displayed in modern browsers and in mobile, the video is not displayed and the message in the console is "CORS header ‘Access-Control-Allow-Origin’ missing".

I tried to set Access-Control-Allow-Origin both in the htaccess:
<FilesMatch "\.(php)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"

Open in new window

and in the file header.php adding these lines:
    header("Access-Control-Allow-Origin: *");
    header("Access-Control-Allow-Methods: PUT, GET, POST");
    header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");

Open in new window

I tryed these solutions one by one and both together but with no success. In the console I always see the same message.

Any idea?
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.
Redis Cache.
I am using a Redis Cache plugin on a WordPress / WooCommerce website.  There is some custom functionality that happens when a product is duplicated.  A unique UPC code is automatically issued to the new product.  What seems to be happening is that the result of the query ends up being cached and the same UPC code gets issued to each product duplicated.  When I turn off the cache the problem goes away.  The question is, is there a way to keep a specific function/query results from being cached by the Redis functionality.
This is the plugin: https://wordpress.org/plugins/redis-cache/
Needless to say, this is above my pay grade.
WordPress and WooCommerce
I have a store with a lot of products.  The WooCommerce Admin Product Search Functionality is really really really slow.  I have made some subtractions to it because my needs do not need such a robust search.  I need to bring it out of the core so it is not over written but I'm not 100%.  Here is the the Class.  I have not put everything in it, only what I believe is necessary.  Can someone assist me with starting the new Class that would extend this?

public function search_products is what I have changed to speed up the search.

class WC_Product_Data_Store_CPT extends WC_Data_Store_WP implements WC_Object_Data_Store_Interface, WC_Product_Data_Store_Interface {

public function search_products( $term, $type = '', $include_variations = false ) {
		global $wpdb;

		$search_fields = array_map( 'wc_clean', apply_filters( 'woocommerce_product_search_fields', array(
		) ) );
		$like_term     = '%' . $wpdb->esc_like( $term ) . '%';
		$post_types    = $include_variations ? array( 'product', 'product_variation' ) : array( 'product' );
		$post_statuses = current_user_can( 'edit_private_products' ) ? array( 'private', 'publish' ) : array( 'publish' );
		$type_join     = '';
		$type_where    = '';

		if ( $type ) {
			if ( in_array( $type, array( 'virtual', 'downloadable' ) ) ) {
				$type_join  = " LEFT JOIN {$wpdb->postmeta} postmeta_type ON posts.ID = postmeta_type.post_id ";
				$type_where = " AND ( postmeta_type.meta_key = '_{$type}'

Open in new window

Cannot edit pages in WordPress and receiving and error "Sorry, you are not allowed to edit posts in this post type."
Dear Experts.
i have a simple WINDOWS  webserver with an installation of MYSQL (5.6) that hosts some wordpress Databases
one of my dabases gives the following error

, , , 2018-09-11 08:39:27 183c InnoDB: cannot calculate statistics for table "wordpress941"."wp_posts" because the .ibd file is missing. For help, please refer to http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html

i looked inside the Database folder and the file wp_posts.ibd is there but it looks apparently corrupted i have no idea how can i fix this on a windows server.
can someone please help.

restore from backup didnt help apparently the last 14 days have all been backed up with the corrupted files.
I was wondering if there was a way I can display a notification bubble on my marketplace so any unread custom posts called notifications display a bubble count to the user/vendor when they log in.

I’m not sure where to start. Can someone help please.
Coming Soon! I am working on this right now.  I will be back.
Dear Experts,

I have created on demand task to import an Excel file from Dropbox, but I want to run this task from a Wordpress page, just like we can deploy Datapage and paste it wo a Wordpress page.  I am trying to use this as a way of uploading a file by non-admin person on demand.
Please advise.
JavaScript Best Practices
LVL 12
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

WordPress WooCommerce Add a Custom Filter Button to the Products Main Admin Page.

When you are on the Main Products Page in WooCommerce, I want to add a new filter button, "Mine"  that will list all of the products that the current admin has added to the store.
There is more than one person who ads products so it helps when one person wants to only see the products they have added.

Any help will be appriciated.
We have developed a MailChimp RSS Newsletter template. However, our RSS feed from the Wordpress site is not exporting images. Now we need to set up code for a Mail Chimp RSS Newsletter that will export the featured image from post in the appropriate size for the template.

We need expertise to code the RSS feed to include the appropriately sized images.

Here’s the feed: https://iVoteAmerica.com/feed

Need media content code in the functions.php file to export the featured images, and prefer not to use a plugin.
Need to set up a RSS Mail Chimp media feed for a WordPress site using last 4 posts with the Featured Image.
BBpress is squishing the replies from an SMF import.  Which seems to be confined to the initial questions in a thread only - Here is a screenshot


Please help me to un-squish the initial question and still be able to see this on a tablet and a smartphone.

Hi guys,

I start having an issue yesterday with a website, https://sundrelle.ie so what I ended up doing was uploading a backup copy of the public_html folder and i am still receiving the same issue.

So far i have tried, renaming the theme folder, deleting .htaccess, and disabling the plugins. I am still not getting anywhere, any help would be greatly appreciated.

I am getting a 404 error on my website after I click on a product.  I was told to change the permalink to Custom Structure

I created the permalink.  I still get the same error.  I also change the httpaccess file to
# 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]
# END WordPress

I still have the same error.

Can someone help me? I am using the Aliplugin.
It also tried the sitemap.  Google has not crawled the page yet.
so i am playing with wordpress gutenberg block dev. and already made some simple one. now i am trying to make a more complicated one of a slider.
everything works untill the save function where i get validation error and a bizzare notice about EndTag which i do not get.
this is my save function , for now i am just trying to save the slides titles. if i console log within the map, i do get what i want.
	save: function( props ) {
    const { slides } = props.attributes; 
    const id = props.attributes.id;
    const displaySlides = slides.map((slide) => {
      return (

    return (

Open in new window

and here is the error i get in my dev tools:
validation error
what an i missing here? and what is it the EndTag thing?

best regards
Hi All,

I need a theme for my new website, which allows users to upload, download and stream videos on my website.

I have domain and cloud hosting.

for example : https://mybb.com/ 

This is the forum website which is open source I can download and upload these file to my hosting.
like same I need a website for videos.

Hello Experts,

Our website currently tracks visitors to our website. Everybody who comes into the site with a UTM_source gets put in a cookie and tracks it across the site. IF somebody applies for a job, it will append the UTM string to the url, so the source gets credit. The code is below, and on our website

   Add UTM Cookies
   -- This sets Tracking Cookies. 
function set_ad_cookies() {
	$vars = array('utm_source', 'utm_campaign', 'utm_medium');
  //$parsed = array();
  	foreach ($vars as $k) {
    	if (isset($_GET[$k]) && !isset($_COOKIE['orig_'.$k])) {
        	setcookie('orig_'.$k, $_GET[$k], 0, '/', $domains['cookie_domain']);
   	if (!isset($_COOKIE['orig_utmsource'])) {
	 	setcookie('orig_utmsource', $_GET['utm_source'], 0, '/', $domains['cookie_domain']);
add_action('init', 'set_ad_cookies');
  Append UTMs to links.
  - IF you have form submissions, or similar,
  - This will append the UTM string to
  - the end of the URL, so you can see which
  - ADD the user came from. Add your URL below. 
function replace_links($text) {
	$url = explode('?', 'https://'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
	$addCookiesToLink = "";
	if (strlen($url[1]) > 1) {
		$text = str_replace('yourwebsiteurl', 'yourwebsiteurl?' . $url[1], 

Open in new window

Starting with Angular 5
LVL 12
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

What jQuery or Javascript function will act like an actual click?

I have a radio button on a wordpress / woocommerce page that when you click the radio button it causes the page to update.  If I set the button, it does not run the page update funtion, so I need it to be as if it were clicked.

The following does not work (But it does set the button as checked and it does run the page update)

 <input type="submit" class="submit button" style="margin-top:14px;float:none !important" value="<?php _e("Assign Customer to Order", 'manual_phone_orders') ?>">
                <?php IGN_Manual_Phone_Orders_Core::add_tax_exempt_field() ?> 
            <?php wp_nonce_field("opc_customer_selected", "opc_customer_selected"); ?>
            $user_meta = get_userdata($userid);
            $user_roles = $user_meta->roles; //array of roles the user is part of.
            if (in_array('customer_wholesale', $user_roles)) {
                echo "&nbsp; - &nbsp; <span style='background-color: #FFFF00'><b>This is a Wholesale Customer</b></span>";
                    $ = jQuery
                    $(".ignitewoo_one_page_tax_exempt").prop("checked", true).trigger("change");
                    jQuery('body').trigger( 'update_checkout' );          
            } else {
                    $ = jQuery

Open in new window

Greetings mates,

We have been struggling for the past three days trying to connect wordpress to sql server using iis.

We are using iis because management doesn't want us to use WAMP or XAMMP.

Anyway, we used Microsoft web Platform installer to install, PHP and PHP Manager.

Configured, tested and phpinfo is rendered fine.

We downloaded wp-db-abstraction plugin, created a folder called MU-Plugins and put the  wp-db-abstraction plugin inside this folder,  grabbed wp-db.php that came with this plugin and put it inside the wp-content folder.

Then we downloaded sql server driver for php.

The version of php we installed is 5.6 ( I know).

We registered these dlls in php.ini. Then copied these dlls into the php/ext folder.

The version registered is for php 5.6

Then we fired wordpress =  http://servername/index.php and then got this error:

Error establishing database connection

This either means that the username and password information in your wp.config.php incorrect or we can't contact the database server at xxxxxxxxxxxxx.

Are you sure you have the connect username?
Are you sure you have the correct password?
Are you sure you have the correct hostname?
Are you sure database server is running?

Does any one of you experts please help me out on this?

Thank you in advance
PHP Error Notice: Notice      Trying to get property of non-object

What am I not understanding about this notice and the way the following is written?

wp_localize_script('tlg_admin', 'tlg_admin', array('screenname' => $screen->base, 'ajax_url' => admin_url('admin-ajax.php'), 'post_id' => $post->ID));

Open in new window


I have had a wordpress multisite working for a while now. I have also had subdomains on that site for a while http://ms.abuzztech.com. For some reason now my multi-sites are not working. I can still see the list of sites in the wp-admin page but I am getting:

If you are the owner of this website, please contact your hosting provider: webmaster@realestate.abuzztech.com
It is possible you have reached this page because:

When I try to go to a page  that was a multi-site page like realestate.abuzztech.com. Any ideas where I should look? I checked the wp-config file and .htaccess. Thanks in advance
I've been tinkering with React JS for the past several months now, and just have some questions.  I'm not looking for code .. just information and maybe some links.  Please advise.

1) I'm a bit confused about how security is maintained in React based applications.  I understand that the JS and CSS files get minified and bundled during the build process.  But what about the API keys and login credentials that are buried in the JS files in the site root when deployed?  Can't anyone just view source and extract that info, ... however obfuscated it might be?  I've always wondered why the tutorial videos I've watched never get in to any of  that.  What is it that I'm missing or not understanding?  

2) Why would I ever need or want to use Redux in my React based application?  My understanding is that it would facilitate something like "multiple undo levels" .. or work similar to a web browser's "back" and "next" buttons.  Am I correct in assuming that it's mostly used for debugging / troubleshooting purposes? If not, then what's an example of real life use case scenario?

3) Regarding the new Context API .. is it being regarded as an all-out replacement for Redux?  Or are the two fundamentally different?  If so, how?

4) What other real-time databases are available besides Firebase that work with React, if any?  I'd be most interested in 3rd-party hosted solutions (like Firebase), as opposed to database engines that you'd have to install and configure on your own server.…

I have created a basic Website in WordPress using a number of plugins to include company information, images etc.

Does anyone know of a WordPress plugin that will connect to and query an MS SQL database? We have a SQL 2008 server on site and I would love to be able to retrieve and present information from the various tables/views onto an Intranet page / potentially including a search too.

I've seen a few plugins which allow you to access the mySql database behind Wordpress but nothing that allows you to connect to a separate database.

I look forward to your replies & thanks in advance!


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.