Looking for Someone Good at PHP

Associate
Joined
9 Jun 2009
Posts
348
Looking for Someone Good at PHP. I have a wordpress theme, and there is the option to have a quote in the header. I need this changed to an image of a certain size.

If anyone can do or help me with this quick fix I'd be very grateful. If you want the code let me know!
 
Associate
OP
Joined
9 Jun 2009
Posts
348
Hey thanks for the quick reply.

Demo Site: http://themeforest.net/item/ironband-responsive-music-dj-wordpress-theme/full_screen_preview/5398241

Header.php Code

Code:
<?php

if ( isset($_GET['load']) && $_GET['load'] == 'playlist.json' ) {
	iron_print_playlist_json();
	die();
}

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo('charset'); ?>">
	<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0">

	<title><?php wp_title('—', true, 'right'); ?></title>

	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>

	<div id="fb-root"></div>

	<div id="wrapper">

		<!-- header -->
		<header id="header">
			<div class="header__left"><!--
				--><a class="site-title" rel="home" href="<?php echo home_url('/'); ?>">
					<img class="logo-desktop" src="<?php echo esc_url( get_iron_option('header_logo') ); ?>" alt="<?php echo esc_attr( get_bloginfo('name') ); ?>">
					<img class="logo-mobile" src="<?php echo esc_url( get_iron_option('header_logo_mobile') ); ?>" alt="<?php echo esc_attr( get_bloginfo('name') ); ?>">
				</a><!--
				--><strong class="site-description"><?php bloginfo('description'); ?></strong><!--
			--></div>
<?php
	$header_quote = get_iron_option('header_blockquote');
	if ( ! empty($header_quote['quote']) || ! empty($header_quote['author']) ) :
?>
			<figure class="blockquote-box">
<?php
		if ( ! empty($header_quote['quote']) ) :
?>
					<blockquote><?php echo $header_quote['quote']; ?></blockquote>
<?php
		endif;

		if ( ! empty($header_quote['author']) ) :
?>
					<figcaption><?php echo $header_quote['author']; ?></figcaption>
<?php
		endif;
?>
			</figure>
<?php
	endif;
?>
		</header>

		<!-- panel -->
		<div class="panel">
			<a class="opener" href="#"><i class="icon-reorder"></i> <?php _e("Menu", IRON_TEXT_DOMAIN); ?></a>

			<!-- nav-holder -->
			<div class="nav-holder">

				<!-- nav -->
				<nav id="nav">
<?php if ( get_iron_option('header_menu_logo_icon') ) : ?>
					<a class="logo-panel" href="<?php echo home_url('/'); ?>">
						<img src="<?php echo esc_url( get_iron_option('header_menu_logo_icon') ); ?>" alt="<?php echo esc_attr( get_bloginfo('name') ); ?>">
					</a>
<?php endif; ?>
					<?php echo preg_replace('/>\s+</S', '><', wp_nav_menu( array( 'theme_location' => 'main-menu', 'menu_class' => 'nav-menu', 'echo' => false ) )); ?>
				</nav>

<?php get_template_part('parts/networks'); ?>
			</div>
		</div>
 
Last edited:
Associate
OP
Joined
9 Jun 2009
Posts
348
Code:
<figure class="blockquote-box">
<a href="#"><img src="http://imagizer.imageshack.us/v2/800x600q90/593/22cx.png" /></a>
			</figure>

Ive entered this but its just blank :/

Does the # need to be replaced? (sorry not that good at coding)
 
Back
Top Bottom