Solved

Working With Featured Image in Custom Theme

Posted on 2014-02-12
6
351 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 17

Accepted Solution

by:
OmniUnlimited earned 500 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

777 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