Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Working With Featured Image in Custom Theme

Posted on 2014-02-12
6
Medium Priority
?
373 Views
Last Modified: 2014-02-12
I created a custom theme and have inserted code to include the featured image. I cannot figure out why the image is showing inside the page in addition to where I specified the featured-image to appear.
injury-law.php
functions.php
0
Comment
Question by:wayne_henry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 

Author Comment

by:wayne_henry
ID: 39854855
This is the page as it appears. http://irawaynehenry.com/plymaledingus/?page_id=8
0
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 39855006
Ok, this code is not helpful.  We need to see the code you have placed on the page in your WordPress editor.

Sign into your admin section (http://irawaynehenry.com/plymaledingus/wp-admin) and click on "Pages" in the left-hand column.  Select the Injury Law page and copy and paste the code from the HTML tab of the editor here.  My bet is that you have the image directly embedded in the page.
0
 

Author Comment

by:wayne_henry
ID: 39855017
Nope. Nowhere in the page. It has to be in one of the php files if not in the ones attached. I converted a PSD file to the site and started with watered down Wordpress theme files I downloaded at https://github.com/sirjonathan/migration-theme/archive/master.zip

<h1>A Law Firm Focused on Meeting Your Legal Needs</h1>
Are you seeking compensation for serious injuries caused by another's negligence or intentional act? Have you been <a href="http://www.plymaledingus.com/columbus-ohio-attorneys/car-wrecks">injured in a car accident</a>? Has a loved on <a href="http://www.plymaledingus.com/columbus-ohio-attorneys/wrongful-death">died as a result of the fault of another</a>? If so, our attorneys at Plymale &amp; Dingus can help.

Based in Columbus, we serve clients throughout Central Ohio. Our focus is on empowering you with the advice and representation you need to protect your legal rights. Contact us today for a free phone consultation with one of our knowledgeable attorneys.
<h1>Lawyers You Can Rely on for Quality Personal Service</h1>
Our two partner attorneys, <a href="http://www.plymaledingus.com/legal-team/ronald-plymale">Ronald Plymale</a> and <a href="http://www.plymaledingus.com/legal-team/shawn-dingus">Shawn Dingus</a> — both of whom are former prosecutors — are well-known and respected throughout the Columbus area for their efforts on behalf of clients in <a href="http://www.plymaledingus.com/family-law">family law</a>, <a href="http://www.plymaledingus.com/criminal-defense">criminal defense</a> and personal injury cases.

By offering our clients the personal attention and skilled counsel of experienced trial lawyers, we are able to better serve and empower them.

Our team also includes associate attorney <a href="http://www.plymaledingus.com/legal-team/mike-guluzian/index.shtml">Mike Guluzian</a> and several support staff members whose valuable contributions enable us to more efficiently meet our clients' needs. We are big enough to handle significant cases but small enough to provide individualized service.

Our clients come from many different backgrounds. One thing we are particularly known for is our commitment to providing GLBT-friendly services.
<h1>Contact Us Today for a Free Phone Consultation</h1>
Our office is conveniently located near the courthouse in downtown Columbus. We are easily accessible from Interstates 70 and 71, and free parking is available. We offer free telephone consultations and regularly work with potential clients to schedule meetings on evenings and weekends.For personal injury cases, we offer contingency fee agreements so you do not have to pay any attorneys' fees unless and until we obtain compensation on your behalf. For other cases, we accept credit cards and are able to offer flexible payment arrangements. <a href="http://www.plymaledingus.com/contact-columbus-attorneys">Contact us</a> to discuss how we can help you.

Open in new window

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 2000 total points
ID: 39855025
Ok, thanks.  It does appear that another template file is being used.

Can you open your theme's folder and look for any file that has a name like "content-page.php" or "content.php" and post that here?
0
 

Author Comment

by:wayne_henry
ID: 39855033
Ah! That was it. It was in both of those template files. Thank you!
0
 
LVL 17

Expert Comment

by:OmniUnlimited
ID: 39855035
No problem.  Glad to help!
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question