bitcoin
bitcoin

Bitcoin (BTC)

Price
$ 42,819.00
ethereum
ethereum

Ethereum (ETH)

Price
$ 2,970.31
binance-coin
binance-coin

Binance Coin (BNB)

Price
$ 338.57

Bitcoin
$ 42,974
GOLD
$ 0.00004382
Ethereum
$ 2,981.7

Create Custom post type in WordPress

We have to add below code in function.php file
You can change you custom post type with services

// Own custom post type function 

function create_posttype() {
      register_post_type( 'services',
        array(
                'labels'=> array(
           'name'=> __('services'),
                      'singular_name'=>__('service')
                  ),
                   'public'=> true,
                   'has_archive'=> true,
                   'rewrite'=> array(
                            'slug'=> 'services'
                     ),
                    'show_in_rest'=> true,
             )
       );
} 
add_action( 'init', 'create_posttype');

Leave a Reply

BTC to USD Converter

About Us

Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right.