Wordpress How Can I Display skill1_logo in View

Ralphy Santos

Hi Im practically a newbie and would like to kindly ask how can I display skill1_logo,skill1_title,skill1_description on a page that I want. I was trying to do a 1 page website using wordpress to practice my wordpress.

    function theme_skills_customizer($wp_customize){
     //adding section in wordpress customizer
    $wp_customize->add_section('skills_settings_section', array(
      'title'          => 'Skills Section'
     ));

    $wp_customize->add_setting('skill1_logo');
    $wp_customize->add_setting('skill1_title');
    $wp_customize->add_setting('skill1_description');
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'skill1_logo', array(
         'label'    => __( 'Skill 1 Logo', 'themeslug' ),
         'width'              => 400,
         'height'             => 400,
         'flex-width'         => true,
         'flex-height'        => true,
         'section'  => 'skills_settings_section',
         'settings' => 'skill1_logo',
    )));
    $wp_customize->add_control( 'skill1_title', array(
      'label' => __( 'Skill 1 Title' ),
      'section' => 'skills_settings_section', // Add a default or your own section
      'type' => 'text',
    ));
    $wp_customize->add_control( 'skill1_description', array(
      'label' => __( 'Skill 1 Description' ),
      'section' => 'skills_settings_section', // Add a default or your own section
      'type' => 'textarea',
    ));

   }

    add_action( 'customize_register', 'theme_skills_customizer' );
Mohsin

You can use get_theme_mod function to echo those settings.

e.g.

 $s_title = get_theme_mod('skill1_title');

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I display a pygooglechart in a Django view?

From Dev

How can I display the result of a view in a parent view?

From Dev

How can I display wordpress post instead of 404 page?

From Dev

How can I display a list of categories and all their posts in WordPress?

From Dev

How can I display newest post outside the loop in Wordpress?

From Dev

Woocommerce with wordpress - how can I display category image?

From Dev

How can I display images in Wordpress inbuilt the_title()?

From Java

How can I display a list view in an Android Alert Dialog?

From Dev

How can i load and display database data in my view?

From Dev

How can I display another view in a seperate storyboard

From Dev

How can I display custom directive within an ui-view?

From Dev

How can I get my view to display the property?

From Dev

How can i display the custom View on my xml file?

From Dev

How can I display data from multiple models in one view?

From Dev

How can I display custom directive within an ui-view?

From Dev

How can I get my view to display the property?

From Dev

How can I display a container and list in a Sencha Touch 2.2 view and have the whole view scrollable?

From Dev

How can I use text from a table view cell and display it as a label in a parent view controller?

From Dev

How can I display detail view by fetching details entered to the database before on clicking an item of list view

From Dev

How can I display a Magento Category In WordPress article using fishpig integration?

From Dev

How can I display the parent menu item's description using Wordpress walkers?

From Dev

How can I display Loops

From Dev

How can i display info?

From Dev

How can I implement domino data services within an xpinc application to display a notes view in a restful state

From Dev

How can I use an IF statement within a view to display a table depending on the result received?

From Dev

How can i display the file name in the Edit View? File name is stored in the images Folder and also in database

From Dev

How can I display data passed to the view from the express router in react?

From Dev

How can I display the {post.body} in the Posts List view in Meteor Telescope Nova?

From Dev

How can I use google maps api to display a house (not street view)? Like instantstreetview.com

Related Related

  1. 1

    How can I display a pygooglechart in a Django view?

  2. 2

    How can I display the result of a view in a parent view?

  3. 3

    How can I display wordpress post instead of 404 page?

  4. 4

    How can I display a list of categories and all their posts in WordPress?

  5. 5

    How can I display newest post outside the loop in Wordpress?

  6. 6

    Woocommerce with wordpress - how can I display category image?

  7. 7

    How can I display images in Wordpress inbuilt the_title()?

  8. 8

    How can I display a list view in an Android Alert Dialog?

  9. 9

    How can i load and display database data in my view?

  10. 10

    How can I display another view in a seperate storyboard

  11. 11

    How can I display custom directive within an ui-view?

  12. 12

    How can I get my view to display the property?

  13. 13

    How can i display the custom View on my xml file?

  14. 14

    How can I display data from multiple models in one view?

  15. 15

    How can I display custom directive within an ui-view?

  16. 16

    How can I get my view to display the property?

  17. 17

    How can I display a container and list in a Sencha Touch 2.2 view and have the whole view scrollable?

  18. 18

    How can I use text from a table view cell and display it as a label in a parent view controller?

  19. 19

    How can I display detail view by fetching details entered to the database before on clicking an item of list view

  20. 20

    How can I display a Magento Category In WordPress article using fishpig integration?

  21. 21

    How can I display the parent menu item's description using Wordpress walkers?

  22. 22

    How can I display Loops

  23. 23

    How can i display info?

  24. 24

    How can I implement domino data services within an xpinc application to display a notes view in a restful state

  25. 25

    How can I use an IF statement within a view to display a table depending on the result received?

  26. 26

    How can i display the file name in the Edit View? File name is stored in the images Folder and also in database

  27. 27

    How can I display data passed to the view from the express router in react?

  28. 28

    How can I display the {post.body} in the Posts List view in Meteor Telescope Nova?

  29. 29

    How can I use google maps api to display a house (not street view)? Like instantstreetview.com

HotTag

Archive