Menu

Tag Archives: wordpress

ACF Pro and JavaScript
Saving data to ACF Repeater Field with JavaScript – Tutorial
In this tutorial we will create a Custom post Type named Terms, use Advanced Custom Fields PRO (with ACF Repeater Field) to make a beautiful admin [...]
underscores – Best Starter theme for WordPress by Automattic
Custom Meta Box
Meta Box for WordPress Posts and WP REST API
What are Meta Boxes? Meta box is part of the entry form on the post/page editing admin page. In the image below we can see Title, Editor, Format and [...]
Taxonomy
WordPress Taxonomy – Your Custom Categories and Tags
Taxonomies are generally based either on Categories (hierarhical) or on Tags (non-hierarhical) and can be included in default or custom post types. Default [...]
Child Themes in WordPress Make Me Happy
Child theme is a great option if you are using a theme downloaded from WordPress.org or another theme provider. A child theme needs to have: – their [...]
Custom Post Types
Post Types in WordPress: How to Generate Them
Custom post types are a cornerstone of WP REST API. Today we will learn which default post types are already included in WordPress, where we can find them [...]
WordPress Theme Unit Test Data
.htaccess
Force https in .htaccess
RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} SOURCE
WordPress: export JS from php
Prepare the data in functions.php // functions.php wp_localize_script( 'main_js', // name of script name 'theData', // name of the object we want to output [...]
WordPress REST API – JavaScript & Backbone
Resources Backbone JavaScript Client Client enables all CRUD operations on the content in WP database. Below two examples are shown – reading and [...]
WordPress Permalinks on Ubuntu Apache Server
I have encountered this interesting issue with WordPress permalinks when I was installing WordPress locally. Everything was fine until I changed WordPress [...]
WordPress REST API with Read and Post Examples
Main Resources WP REST API REST API Handbook Nonce Nonce tips and tricks The WordPress REST API provides API endpoints for WordPress data types that allow [...]
Install wpscan on Ubuntu
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev su -l cd ~ curl -sSL [...]
Install wp-cli
Project homepage: https://github.com/wp-cli/wp-cli $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar $ php wp-cli.phar [...]