Questions tagged [wordpress]

Consider using https://wordpress.stackexchange.com . This tag is for programming-specific questions about the WordPress content management system. Off-topic questions include those about theme development, WordPress administration, management best practices, server configuration, etc. These are best asked on https://wordpress.stackexchange.com .

Tag #Wordpress

This tag is for programming-specific questions related to WordPress, especially those that involve a mix of languages and technologies (PHP, MySQL, CSS, JavaScript/jQuery and others). Questions about plugin and theme development, WordPress administration, management best practices, and server configuration are best asked on Stack Exchange WordPress Development.

Forks // Furcation

WordPress as a content management platform should be distinguished from wordpress.com, which is a hosted solution by the creators of WordPress. For a discussion of the differences, visit WordPress.com and WordPress.org.

What is wordpress?

WordPress is a PHP-based, open source content management system () for creating websites and blogs. Through its dynamic presentation of content, webmasters have the flexibility to create beautiful and useful websites easily. Through its system of filters and hooks, WordPress allows developers to extend functionality through pieces of code called functions, which can be grouped into separate executables called "plugins". It is also possible to customize a WordPress installation via the creation of custom themes.

History

b2 was the precursor of WordPress and developed in 2001. It used PHP and MySQL but was not so successful (only 3000 blogs until 2003). WordPress appeared the first time in 2003 as a fork of b2, version 1.0 was in development until January 2004. WordPress has since been improved many times through updates. WordPress 5.0 shipped a new block-based editor called "Gutenberg". The latest major release is WordPress 5.5 released on August 11, 2020.

Links


Related tags

Specific features or topics

Specific versions

191625 questions
754
votes
21 answers

Create a folder if it doesn't already exist

I've run into a few cases with WordPress installs with Bluehost where I've encountered errors with my WordPress theme because the uploads folder wp-content/uploads was not present. Apparently the Bluehost cPanel WordPress installer does not create…
Scott B
  • 38,833
  • 65
  • 160
  • 266
641
votes
34 answers

Can I install/update WordPress plugins without providing FTP access?

I am using WordPress on my live server which only uses SFTP using an SSH key. I want to install and upgrade plugins, but it appears that you are required to enter your FTP login to install the plugins. Is there a way to install and upgrade plugins…
user77413
  • 30,205
  • 16
  • 46
  • 52
399
votes
15 answers

Correct file permissions for WordPress

I've had a look over here but didn't find any details on the best file permissions. I also took a look at some of WordPress's form's questions over here too but anybody that suggests 777 obviously needs a little lesson in security. In short my…
John Crawford
  • 9,656
  • 9
  • 31
  • 42
333
votes
16 answers

upstream sent too big header while reading response header from upstream

I am getting these kind of errors: 2014/05/24 11:49:06 [error] 8376#0: *54031 upstream sent too big header while reading response header from upstream, client: 107.21.193.210, server: aamjanata.com, request: "GET…
Vidyut
  • 3,489
  • 2
  • 13
  • 10
308
votes
22 answers

#1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’

I have a WordPress website on my local WAMP server. But when I upload its database to live server, I get error #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
Shishil Patel
  • 3,449
  • 2
  • 12
  • 16
303
votes
19 answers

How can I add a PHP page to WordPress?

I want to create a custom page for my WordPress blog that will execute my PHP code in it, whilst remaining a part of the overall site CSS/theme/design. The PHP code will make use of third-party APIs (so I need to include other PHP files). How do I…
citronic
  • 9,868
  • 14
  • 51
  • 74
292
votes
25 answers

PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I am getting this error when trying to upload an import on WordPress on my XAMPP local dev environment: Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 I changed the upload_max_filesize from 2M…
novicePrgrmr
  • 18,647
  • 31
  • 81
  • 103
270
votes
21 answers

phpMyAdmin - Error > Incorrect format parameter?

I have a WordPress production website. I've exported the database by the following commands: select database > export > custom > select all tables > select .zip compression > 'Go' I've downloaded the file which is example.sql.zip but when I upload…
Henry
  • 5,195
  • 7
  • 21
  • 34
258
votes
18 answers

Wordpress how to use jquery and $ sign

I have a simple jQuery script in a WordPress plugin that is using a jQuery wrapper like this: $(document).ready(function(){ // jQuery code is in here }); I am calling this script from within the WordPress Dashboard and am loading it AFTER the…
Jason
  • 4,899
  • 12
  • 47
  • 56
248
votes
8 answers

Table is marked as crashed and should be repaired

I am getting this error in wordpress phpMyadmin #145 - Table './DB_NAME/wp_posts' is marked as crashed and should be repaired When I login to phpMyadmin, it says wp_posts is "in use" My website is currently down because of this. I googled this…
John Connor
  • 3,347
  • 3
  • 18
  • 13
210
votes
28 answers

Nginx serves .php files as downloads, instead of executing them

I am installing a website in a droplet (Digital Ocean). I have an issue for install NGINX with PHP properly. I did a tutorial https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04 but when I…
Apeiron
  • 1,881
  • 2
  • 13
  • 21
206
votes
42 answers

What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Chrome. I'm not sure exactly what can provoke this error, I just noticed it pops out only when accessing the website in HTTPS. I can't be 100%…
Tristan G
  • 2,157
  • 2
  • 6
  • 10
204
votes
19 answers

Access denied for user 'root@localhost' (using password:NO)

I'm trying to run WordPress in my Windows desktop and it needs MySQL. I install everything with Web Platform Installer which is provided by Microsoft. I never set a root password for MySQL and in the final step of installing WordPress, it asks for a…
Nasser Hadjloo
  • 12,312
  • 15
  • 69
  • 100
198
votes
14 answers

#1273 - Unknown collation: 'utf8mb4_unicode_ci' cPanel

I have a WordPress database on my local machine that I want to transfer to a hosted phpMyAdmin on cPanel. However, when I try to import the database into the environment, I keep getting this error: #1273 - Unknown collation: 'utf8mb4_unicode_ci' I…
Wairimu Murigi
  • 2,157
  • 2
  • 15
  • 19
188
votes
5 answers

Proper URL forming with a query string and an anchor hashtag

When both a query string and anchor tag (hash tag) are visible in a URL, what is the proper order for them to appear? http://www.whatever.com?var=val#anchor or http://www.whatever.com#anchor?var=val Is there any documentation on this? The URLs are…
Dan
  • 3,750
  • 5
  • 24
  • 38
1
2 3
99 100