GJ Blog

Some web development stuff and WordPress

Add a Page in the dashboard Menu

function register_custom_dash_page() {
    add_menu_page('GJ Custom Page', 'Custom Page', 'manage_options', 'custompage', 'f_toprint_onpage', plugins_url( 'gj_artlogic_feed/images/ico_img.svg' ), 6); 
add_action('admin_menu', 'register_custom_dash_page');

function f_toprint_onpage(){
   echo "GJ Custom Page";  

Creating custom post types in WordPress is a great way to add new content types to your website. In WordPress you generally have only posts or pages. We can extend this with CPT (Custom Post Types). So to have a unique new group of articles with custom fields and taxonomies.

In WordPress these groups of articles are displayed on the Archive page as a list and have a single page for each post. As an example posts are displayed on archive.php and have single.php.

Lets say I have a my Web Design studio website and I want to make a section with all of the employees. With a personal page for each one and and archive page where everyone is listed.

In this tutorial we will do a CPT for the employees and two Elementor templates. One to display the Archive and another to display the Personal page


GJ User Pages is a WordPress plugin that creates a page in a custom post type when a new user registers.
It assigns the page at that user in a custom settings for each new user.
It has an option to redirect the user at that page after login. And an option to create pages for each existing user.

You can download the zip on my Github

Welcome to my first tutorial (hope i will manage to make more).

So i needed to make a signin and registration form for a translation website. As i have started to use Elementor, it makes a lot of things easyer, I wanted to try using it for this purpose.

Elementor makes it super easy to create custom forms without any coding and it has a login widget wich is great if you only need a login form. But in this case i needed a registration from.

I searched the web and here comes Essential Addons for Elementor and it has a great widget to do just that and it has included also the forgot password form.

So lets start.

After Installing Elementor and Essential Addons lets make a new page to include our new signIn form. And then edit it in Elementor


Two pictures to help me remember how to do simple gradients in blender.
In the world and on an object

World Gradient in Blender
Object Gradient in Blender

I made simple Elementor addon that adds a slider based on an acf repeater.

To Install, download the zip from github and add as a WordPress PlugIN.

Image return Format in ACF should be Image ID

Under Elementor Addons “General” add the PUP Repeater Addon

It will have three fields. Insert the field names of the Acf repeater