SlideShare a Scribd company logo
Submit Search
Upload
Wc no
Report
Ivelina Dimova
Developer at Crowd Favorite
Follow
•
0 likes
•
2,985 views
1
of
23
Wc no
•
0 likes
•
2,985 views
Download Now
Download to read offline
Report
Ivelina Dimova
Developer at Crowd Favorite
Follow
Recommended
Drupal 8: Routing & More
drubb
1K views
•
19 slides
Drupal 7 — Circle theme
Kirill Borzov
94 views
•
34 slides
Drupal 8 Sample Module
drubb
940 views
•
21 slides
Make your own wp cli command in 10min
Ivelina Dimova
1.4K views
•
21 slides
Codigo taller-plugins
Rocío Valdivia
512 views
•
4 slides
Smarty Template
guest48224
1.3K views
•
14 slides
More Related Content
What's hot
Drupal 8 版型開發變革
Chris Wu
1.5K views
•
29 slides
Love Twig
Antonio Peric-Mazar
4.2K views
•
142 slides
Gail villanueva add muscle to your wordpress site
references
2.8K views
•
39 slides
Let's write secure Drupal code! - DrupalCamp Oslo, 2018
Balázs Tatár
299 views
•
63 slides
Drupal module development
Damjan Cvetan
515 views
•
25 slides
Dependency injection - phpday 2010
Fabien Potencier
4.3K views
•
103 slides
What's hot
(20)
Drupal 8 版型開發變革
Chris Wu
•
1.5K views
Love Twig
Antonio Peric-Mazar
•
4.2K views
Gail villanueva add muscle to your wordpress site
references
•
2.8K views
Let's write secure Drupal code! - DrupalCamp Oslo, 2018
Balázs Tatár
•
299 views
Drupal module development
Damjan Cvetan
•
515 views
Dependency injection - phpday 2010
Fabien Potencier
•
4.3K views
Drupal 8: Forms
drubb
•
1.8K views
Let's write secure Drupal code! - 13.09.2018 @ Drupal Europe, Darmstadt, Germany
Balázs Tatár
•
412 views
Twig Brief, Tips&Tricks
Andrei Burian
•
670 views
Apostrophe
tompunk
•
5.4K views
Let's write secure Drupal code! - Drupal Camp Poland 2019
Balázs Tatár
•
206 views
Making Sense of Twig
Brandon Kelly
•
16.3K views
Drupal 8: Theming
drubb
•
2.2K views
Ch8(oop)
Chhom Karath
•
179 views
Wp query
Savita Soni
•
6.6K views
Dependency injection-zendcon-2010
Fabien Potencier
•
9.3K views
The state of Symfony2 - SymfonyDay 2010
Fabien Potencier
•
1.9K views
Apache Velocity 1.6
Henning Schmiedehausen
•
5.1K views
WordCamp Portland 2018: PHP for WordPress
Alena Holligan
•
278 views
international PHP2011_Bastian Feder_jQuery's Secrets
smueller_sandsmedia
•
420 views
Viewers also liked
From GNETS to Home School
eeniarrol
686 views
•
19 slides
Platyhelmithes
Dhea Pangestu
1.1K views
•
18 slides
Agile Tour Toulouse 2015 - Ekito
Agile Toulouse
404 views
•
9 slides
Ke arah kesatuan gerakan islam fathi yakan
Kammi Daerah Serang
962 views
•
15 slides
Ambient project in eksis komunika
Muhammad Hibatullah
480 views
•
4 slides
Rails 3: Dashing to the Finish
Yehuda Katz
29.1K views
•
171 slides
Viewers also liked
(20)
From GNETS to Home School
eeniarrol
•
686 views
Platyhelmithes
Dhea Pangestu
•
1.1K views
Agile Tour Toulouse 2015 - Ekito
Agile Toulouse
•
404 views
Ke arah kesatuan gerakan islam fathi yakan
Kammi Daerah Serang
•
962 views
Ambient project in eksis komunika
Muhammad Hibatullah
•
480 views
Rails 3: Dashing to the Finish
Yehuda Katz
•
29.1K views
Derechos de autor entrega
Camilo Diaz
•
294 views
Replik tergugat-i-done
Nicholas Dammen Jr
•
1.4K views
Google chrome chromebooks
Brandon Raymo
•
728 views
The Sorting Machine Web Quest Rubric
u1032565
•
1K views
Facebook Feature (Like,Unlike,Comment)
Kaml Sah
•
1.1K views
Tugas 1
Gressi Dwiretno
•
5.7K views
Chris Woolard, Ofcom, Preparing for change – what will drive future growth?
dcmsdigital
•
819 views
Mekanisme Evolusi 1 A ( Ch 22)
Biodas Unsoed
•
2.6K views
2.1.2 contoh pendekatan scientific pai pb sd
Julak Laraw
•
2.9K views
Sistemas visuais do cotidiano - Etec
Benedict-BrandCrafters
•
530 views
Promoting your business flyer
dgamache
•
246 views
Presentation kaka
Zinat Tamami
•
361 views
President's List Honors
Deborah Schwebius
•
139 views
PKL_Report body
Titis Rohmah M
•
2.6K views
Similar to Wc no
Building Potent WordPress Websites
Kyle Cearley
2.5K views
•
87 slides
Theme API
rolfvandekrol
1.6K views
•
95 slides
WordPress Cuztom Helper
slicejack
1.2K views
•
19 slides
WordCamp Praga 2015
Tomasz Dziuda
4K views
•
113 slides
Drupal 7 Theming - Behind the scenes
ramakesavan
10.5K views
•
19 slides
Unit testing zend framework apps
Michelangelo van Dam
2.6K views
•
98 slides
Similar to Wc no
(20)
Building Potent WordPress Websites
Kyle Cearley
•
2.5K views
Theme API
rolfvandekrol
•
1.6K views
WordPress Cuztom Helper
slicejack
•
1.2K views
WordCamp Praga 2015
Tomasz Dziuda
•
4K views
Drupal 7 Theming - Behind the scenes
ramakesavan
•
10.5K views
Unit testing zend framework apps
Michelangelo van Dam
•
2.6K views
Unit testing with zend framework PHPBenelux
Michelangelo van Dam
•
4.6K views
Victoria wordpress
Flynn O'Connor
•
1.2K views
第49回Php勉強会@関東 Datasource
Kaz Watanabe
•
1.4K views
Unit testing with zend framework tek11
Michelangelo van Dam
•
3.6K views
Nickolay Shmalenuk.Render api eng.DrupalCamp Kyiv 2011
camp_drupal_ua
•
1.4K views
Dig Deeper into WordPress - WD Meetup Cairo
Mohamed Mosaad
•
934 views
Developing For The WordPress Customizer
Anthony Hortin
•
309 views
Developing for the WordPress Customizer
Anthony Hortin
•
749 views
WP_Query, pre_get_posts, and eliminating query_posts()
Erick Hitter
•
8.3K views
Laying the proper foundation for plugin and theme development
Tammy Hart
•
1.3K views
How to make a WordPress theme
Hardeep Asrani
•
492 views
Let's write secure Drupal code!
Balázs Tatár
•
441 views
Ajax nested form and ajax upload in rails
Tse-Ching Ho
•
7.4K views
WordPress Theme Workshop: Menus
David Bisset
•
57 views
More from Ivelina Dimova
The Magic of Advanced Debugging
Ivelina Dimova
142 views
•
38 slides
The swiss knife of a word press developer
Ivelina Dimova
1.5K views
•
42 slides
The WordPress developer's toolkit
Ivelina Dimova
563 views
•
32 slides
Professional deployment
Ivelina Dimova
944 views
•
48 slides
Git Tricks
Ivelina Dimova
944 views
•
31 slides
WordCamp London 2013
Ivelina Dimova
2K views
•
17 slides
More from Ivelina Dimova
(7)
The Magic of Advanced Debugging
Ivelina Dimova
•
142 views
The swiss knife of a word press developer
Ivelina Dimova
•
1.5K views
The WordPress developer's toolkit
Ivelina Dimova
•
563 views
Professional deployment
Ivelina Dimova
•
944 views
Git Tricks
Ivelina Dimova
•
944 views
WordCamp London 2013
Ivelina Dimova
•
2K views
WordCamp Sofia 2012
Ivelina Dimova
•
1.1K views
Wc no
1.
The Power of
Option Frameworks
2.
Me, myself and
WordPress
3.
WordPress Themes
4.
And even better
ones
7.
Option frameworks
8.
Option frameworks
Creating theme options never been easier Sanitization and Validation Easier to reuse Fancy option fields
9.
Options Framework
Plugin demo-theme/options.php => theme root folder $multicheck_array = array( 'one' => __('French Toast', 'options_check'), 'two' => __('Pancake', 'options_check'), 'three' => __('Omelette', 'options_check'), 'four' => __('Crepe', 'options_check'), 'five' => __('Waffle', 'options_check') );
10.
of_get_option('example_text_mini', 'no entry');
11.
NHP Theme Options
Framework
12.
functions.php -> get_template_part('nhp', 'options'); nhp-options.php: array(
'id' => '4', 'type' => 'text', 'title' => __('Text Option - Numeric Validated', 'nhp-opts'), 'sub_desc' => __('Numeric.', 'nhp-opts'), 'desc' => __('Description.', 'nhp-opts'), 'validate' => 'numeric', 'std' => '0', 'class' => 'small-text' ),
13.
global $NHP_Options; $NHP_Options =
new NHP_Options($sections, $args); ->get & show methods
14.
ProPanel
15.
$sample_text_field = get_option('yourtheme_sample_text_field'); echo $sample_text_field;
16.
CheezCap
require_once('cheezcap/cheezcap.php'); cheezcap/config.php: new BooleanOption( 'Simple Boolean Example', 'This will create a simple true/false switch with default of "true".', 'simple_boolean_example', true ),
17.
if ($cap->my_boolean_option) { //
do stuff }
18.
Up Themes Framework if( file_exists(get_template_directory(). '/options/options.php') )
include_once(get_template_directory(). '/options/options.php'); register_theme_options(); register_theme_options_tab();
19.
Up Themes Framework $options
= array( "font_color" => array( "tab" => "colors_and_images", "name" => "font_color", "title" => "Font Color", "description" => __( "Select a font color for your theme", "example" ), "section" => "color_scheme", "since" => "1.0", "id" => "color_scheme", "type" => "text", "default" => "Copyright 2012 UpThemes" ) );
21.
Comparison
Updates and support Variety of needed options Reusing
22.
Contacts
@iv_wp http://it.ivdimova.com http://www.linkedin.com/in/ivdimov a