Link to home
Start Free TrialLog in
Avatar of Andrew Spackman
Andrew SpackmanFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Wordpress Theme Development Option Fields

I have been working through tutorials to create my own wordpress theme. I have used an example as a base but i'm having trouble creating a logo upload field and color pickers etc for custom styling.

I have attached my functions.php and index.php file.

Any advice or help would be much appreciated.

Many Thanks,

Andrew
functions.php
index.php
Avatar of Andrew Spackman
Andrew Spackman
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

This is the kind of option I would like to be able to add...

// Menu Logo upload option
	$options[] = array(
		'name' 	=> __( 'Menu Logo', 'lira' ),
		'desc' 	=> __( 'Upload logo for your slide down menu here.', 'lira' ),
		'id' 		=> 'lira_menu_logo_image',
		'type' 	=> 'upload'
	);

Open in new window

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.