Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Working With Featured Image in Custom Theme

Posted on 2014-02-12
6
Medium Priority
?
380 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
  • 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's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

972 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