befree22
Forum Replies Created
-
I added the following code to my css for the 2011 child theme but the image isn’t displaying on the site at http://www.rcrumbcom.dreamhosters.com/about-me
#menu-item-(4).grand a{ background: url(images/prints.jpg) no-repeat right center, -moz-linear-gradient(#f70909, #ff0000); /* must use background element */ }NB: The number ‘4’ corresponds to page #4 which is the About page.
.css is http://pastebin.com/mZDHDRaV
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child ThemeThe fixed coded added to header.php works so I’ll be using it on the site. If you still want to respond to the question above, feel free to do so since you and @alchymyth think the 2011 featured-header-image ought to work.
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child Theme1. Page specific headers: I’d like to use a separate header for each page. For example, page-header-4.jpg for About page and page-header-6.jpg for Contact page.
2. I’m looking for a tutorial (Youtube) to see the extent of the 2011 featured-image-header. From Appearance > Headers, I see that you can upload custom header images and you have the option to rotates these headers in a random manner or to select one of them as the default image for a site.
I wonder if the 2011 featured-header-image can be used for specific pages? I tried using the featured image in the About page and Contact page but the image isn’t appearing in the header for each specific page.
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child Theme@esmi, I edited my post while you were responding… so reposting my question…
Or does WordPress featured-image-header only work for random images / customized headers in Appearance > Headers ? In other words, the featured-image-header works for random and custom headers but it doesn’t work for page specific headers?
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child ThemeHi esmi,
It works with the changed code. However, since 2011 parent supports, featured-image-header, shouldn’t I be using it? The images I uploadeded Appearance do display on the site, they just need to be linked to the correct page. Wouldn’t they link if I uploaded them images to the 2011 parent /headers/ ?
Or does WordPress featured-image-header only work for random images / customized headers in Appearance > Headers ? In other words, the featured-image-header works for random and custom headers but it doesn’t work for page specific headers?
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child ThemeI got the following error when adding the code above to header.php
Fatal error: Call to undefined function get_stylesheet_cirectory_uri() in /home/woodbrothers/rcrumbcom.dreamhosters.com/wp-content/themes/columns/header.php on line 83Since 2011 has featured-image-header, I want to use it and attach a specific header image to each page. I uploaded the 2 images to the Appearance>Header and one displays on the site and these images are in the uploads folder. How do I link a header image to a specific page? It’s not working using the featured image in each page. Should I upload images to the 2011 parent headers folder?
Forum: Themes and Templates
In reply to: Move default 2011 sidebar to the left side in Child ThemeI think I got it to work by changing the float element to ‘left’ but I’ll wait and see…
#secondary {
float: left;
margin-right: 7.6%;
width: 18.8%;
}Oh, how I love WordPress,
Oh, how I love Wo od press…
…Forum: Fixing WordPress
In reply to: Code editor showing red means code errors? See imageThe reason for my question above is because I added a new header width and height ot my child theme functions.php and I think the 940 x 198 size isn’t displaying on http://www.rcrumbcom.dreamhosters.com/ is due to the code red errors.
I choose the above dimensions because they look nice on http://2010dev.wordpress.com/readability/ so I’d like to duplicate it.
Forum: Themes and Templates
In reply to: Add different header image for each page 2011 Child ThemeHere is the header.php for my 2011 child theme: http://pastebin.com/hgtpcXaR
NB: I added lines 80 to 87 which contain your header image switcher codeForum: Themes and Templates
In reply to: Add different header image for each page 2011 Child ThemeFYI: I never thought the featured image was intended to work as a unique header image on pages. To test it, I just uploaded a couple of 1200×346 .jpg images to the media library. I attached one image to the About page using the “featured image” but the image isn’t displaying as a HEADER image when I click the About tab on the site.
@alchymth, I used your code shown above in my header.php file so I can view a unique header for each page in the top nav bar.
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Request: Add header iconDigitalRaindrops.net have options bar in wp admin. Check it out.
I was able to edit the plugin file and add more fields for social media icons. It works fine. There are 6 icons per row.
Forum: Themes and Templates
In reply to: Images not display in 2011 widget areaI viewed the site on desktop computers and the speech bubble image isn’t appearing in the center footer widget either. I wonder why is the image displaying on your end but not mine?
Forum: Themes and Templates
In reply to: How to add sidebar to Twenty Eleven child theme pagesHi alchymth,
Since this code
if( is_single() || is_page() ) :is in the functions.php, and this code in the functions.php controls sidebar calls for all pages, how do I “tell” the functions.php to not show the sidebar or an specific page, ex. prosocial.com/contact-us ?I know that to prevent the sidebar from displaying on prosocial.com/contact-us I have to add this code
if( is_single() ) :to the functions.php but how do I indicate that using code?Forum: Themes and Templates
In reply to: How to add sidebar to Twenty Eleven child theme pagesHi alchymth,
I just saw the following code in the filter that I added to functions.php
if( is_single() || is_page() ) :Your tutorial states that: “if you rather use the sidebar-page template that comes with the theme, to control if and when to show a sidebar on a static page, simply don’t edit page.php, and remove”
|| is_page()I would like the option to control whether or not the sidebar appears on a page or post. Neither the page.php which I added to my child theme, nor the sidebar-page.php, single.php have this code
if( is_single() || is_page() ) :If I want to control whether or not the sidebar appears on a page or post, couldn’t I simply replace
if( is_single() || is_page() ) :
withif( is_single() ) :code?