Sending data from a WordPress post to a webhook upon post publication

Sending data from a WordPress post to a webhook upon post publication

Tiempo de lectura: 2 minutos Today we’re going to see how we can send data from WordPress to a webhook when a publication is made. The first thing we’ll do is install the plugin called Code Snippet, which allows us to add code. We are adding new code: add_action(‘transition_post_status’, ‘enviar_a_a_webhook’, 10, 3); function enviar_a_webhook($new_status, $old_status, $post) { // Verificar que … Read more

Create a WordPress Theme Using React with Frontity, TypeScript, and Vite

Create a WordPress Theme Using React with Frontity, TypeScript, and Vite

Tiempo de lectura: 2 minutos Today we are going to learn how to create a WordPress theme using React, TypeScript, and Frontity. Additionally, we will add Vite underneath, which will allow us to deploy our app faster. Frontity is the framework that allows you to connect your React application with WordPress, leveraging its REST API or GraphQL to fetch and … Read more

Folder Permissions for WordPress Installation

Folder Permissions for WordPress Installation

Tiempo de lectura: 2 minutos Today we are going to indicate the necessary permissions in a WordPress installation with Apache. To ensure the security and proper functioning of your WordPress site within a Docker container, it is important to set the correct permissions on the web directory (www). Here is a general recommendation on how you could set the permissions: … Read more

Migrating WordPress from HTTP to HTTPS (SSL/TLS)

Migrating WordPress from HTTP to HTTPS (SSL/TLS)

Tiempo de lectura: 3 minutos The first thing we are going to do is to install this plugin that will allow us to replace internal links from HTTP to HTTPS: Search for search & replace (https://es.wordpress.org/plugins/search-and-replace/) And install it. Another one I recommend installing is this: (https://es.wordpress.org/plugins/better-search-replace/) Now let’s go to Tools > Search & Replace I recommend making a … Read more

Create a WordPress Theme Using React with Frontity, TypeScript, and Vite

Create a WordPress Theme Using React with Frontity, TypeScript, and Vite

Tiempo de lectura: 2 minutos Today we are going to learn how to create a WordPress theme using React, TypeScript, and Frontity. Additionally, we will add Vite underneath, which will allow us to deploy our app faster. Frontity is the framework that allows you to connect your React application with WordPress, leveraging its REST API or GraphQL to fetch and … Read more

Folder Permissions for WordPress Installation

Folder Permissions for WordPress Installation

Tiempo de lectura: 2 minutos Today we are going to indicate the necessary permissions in a WordPress installation with Apache. To ensure the security and proper functioning of your WordPress site within a Docker container, it is important to set the correct permissions on the web directory (www). Here is a general recommendation on how you could set the permissions: … Read more

Restore WordPress Password Without Access to Email

Restore WordPress Password Without Access to Email

Tiempo de lectura: 2 minutos Today we are going to go through the steps to reset a user password in WordPress by generating a new hash and updating it directly in the database, using PHP and MySQL. Step 1: Access the database Use a database client like phpMyAdmin or any other method you prefer to access your website’s database. Step … Read more