Skip to content

wordpress

Theme development

source: https://www.youtube.com/watch?v=-h7gOJbIpmo

  • Wordpress themes are really nothing more than a hierarchy of template parts.

Setting up XAMPP for wordpress development

XAMPP stands for: X - Cross-platform A - Apache M - MySQL/MariaDB P - PHP P - Perl

paru -S xampp
# Where user is vector
sudo chown -R vector:vector /opt/lampp
# Set User to vector to httpd.conf the webserver will run as this user
sudo nvim /opt/lampp/etc/httpd.conf
cd /opt/lampp/htdocs
wget https://wordpress.org/latest.tar.gz
tar zxf latest.tar.gz
rm latest.tar.gz
cd wordpress
chown -R vector:vector .
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
sudo xampp start
Go http://localhost/phpmyadmin

In User Accounts tab add a new user and a new database with appropriate permissions for them.

1738734504.png

References


Comments