rruffrruff
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Help Moving Featured ImageFigured it out. I needed to remove the code:
<div class="visual-content"> <img src="<?php bloginfo( 'template_directory' ); ?>/thumb.php?src=<?php if (is_multisite()){echo get_current_site(1)->path; echo str_replace(get_blog_option($blog_id,'fileupload_url'),get_blog_option($blog_id,'upload_path'),$image_url); }else{ echo $image_url;}?>&h=272&w=604&zc=1" alt="article_image_full" width="604" height="272" /> </div><!-- /visual-content end -->
Thanks for all the help!!!
Forum: Themes and Templates
In reply to: Help Moving Featured ImageOkay, everything’s coming together–the image is in place of the title. The last thing is preventing the featured image from also appearing above the content. When I delete its code the page won’t load. Something between div id=”content” and div class=”visual-content” needs to be changed or deleted.
<div class="block-holder"> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } else { the_title(); }?> <div id="content"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <h1 class="title-content"></h1> <?php //get the post thumbnail for this post $image_id = get_post_thumbnail_id(); if ($image_id != ""){ ?> <?php $image_url = wp_get_attachment_image_src($image_id,'full'); $image_url = $image_url[0]; ?> <div class="visual-content">
Forum: Themes and Templates
In reply to: Help Moving Featured ImageOops…I forgot to include the page template code at the top.
I’ll give it a go now…
Forum: Themes and Templates
In reply to: Help Moving Featured ImageThat makes sense, except I only see the category option on posts not pages. But from your previous suggestion, I’ve created a new file called image_page.php so that my “default” page template won’t change and I can choose this new template for pages that need the featured image.
I copied my page.php into image_page.php and then added the code for the featured image. But when I create a new page its not showing as an option to use under page templates??
Again thank you so much for your help! I’ve made more progress in the last 20 minutes than I have in the last 5 hours! I’m not the greatest but learning quickly. ??
Forum: Themes and Templates
In reply to: Help Moving Featured Imagepearluvsapple – That sounds like a good idea and I’ll give it a try. So would I copy and paste my current page.php code into a new template then add the code you provided to it? If so, what line would I add this under?
Thanks!
Forum: Themes and Templates
In reply to: Help Moving Featured ImageIt worked!! Is there a way to keep the page title from appearing if a featured image is being used on the page? I plan to put the name of each page within the featured image graphic if one is being used.
Also, when I delete the code to take away the original featured image (below title, above content) I get an error.
Thanks so much for your help! I’ve been trying to solve this for about a week!
Forum: Themes and Templates
In reply to: Help Moving Featured ImageWhat I mean is its currently showing above the body text but I want it to show in place of the page title. In the sample page I’ve given that would be where the word “Children” is.
Forum: Themes and Templates
In reply to: Image in Page TitleHere’s my header.php file:
Forum: Themes and Templates
In reply to: Image in Page TitleI’ve contacted them twice but they say they only provide support to make the theme work as they designed it, no help in making any changes.
It seems I could just add code on the page.php to put the featured image in place of the title if there is one. I just don’t know how to do that…
Forum: Themes and Templates
In reply to: Image in Page TitleGood idea. This seems simple enough but I can’t figure out exactly how to accomplish this. I’m still a newbie! I found this article that seems like a solution but it references the code of another theme that doesn’t match up to mine.
Without editing any code, I can insert a featured image on a page that shows below the page title, I’m just not sure how to move it to display in place of the title.
Can you point me in the right direction? Thanks!
Here’s my CSS:
[ 2,103 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin ]
Forum: Themes and Templates
In reply to: Change Sidebar FontI know that the sidebar is modified within the css. The problem is (and I’m no expert here) I can only change the sidebar font by changing the “body” font settings. However, this also changes the fonts on the homepage, which I don’t want to change.
I’m trying to find a way to change just the sidebar font.
Thanks.
Forum: Fixing WordPress
In reply to: How to remove image border in Firefox?Where would I add the
a img { border:0; }
? In the style.css file?? Firefox adds a red border around my images. My site is here.Forum: Fixing WordPress
In reply to: “Features” in Theme not WorkingI was able to change the_content to the_excerpt and then add the Page Excerpt plugin so that my pages had a excerpt box like a posts. This resolved the problem.
Forum: Fixing WordPress
In reply to: “Features” in Theme not WorkingTried that, but nothing changes.