Emphasis
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Remove title on selected pages.Ok nothing is working. Right now I’d be happy if it just displayed on the blogposts (http://www.niceflowertrading66.com/blog). No titles on the other pages.
Can someone please help me out 🙁
Forum: Themes and Templates
In reply to: Footer changing positionI think the footer doesn’t recognise the positioned div-texts as content. I think it bases it position on the title, cause it thinks there’s no content. Is that possible? And how can I fix it?
Forum: Themes and Templates
In reply to: Footer changing positionNew link for it: http://niceflowertrading66.com/cv
Using positioning divs for the contact page too now, and same things happening to the footer: http://www.niceflowertrading66.com/contact
Forum: Themes and Templates
In reply to: Footer changing positionB-b-b-bump. Still got a crazy footer on the loose on http://niceflowertrading66.com/about 🙁
Forum: Themes and Templates
In reply to: Footer changing positionTried putting it on top of
<!-- footer -->btw too. Same stuff.Forum: Themes and Templates
In reply to: Footer changing positionadded it
still standing in top left on the about page 🙁
<!-- footer --> <div style=clear:both;></div> <div id="footer"> <p class="copyright"> © <?php $copyYear = 2011; $curYear = date('Y'); echo $copyYear . (($copyYear != $curYear) ? '-' . $curYear : ''); ?> <?php bloginfo('name'); ?> </p> </div><!-- /footer -->Forum: Themes and Templates
In reply to: Remove title on selected pages.Yeah if I remove that one, the second title is gone indeed. But my title is still there, which I wanted to get rid of to start with 😀
Forum: Themes and Templates
In reply to: Remove title on selected pages.Forum: Themes and Templates
In reply to: Remove title on selected pages.1) Had no succes with custom page, that is with the making of the template itself. Made a new .php file in my themes directory with all the normal code and left out the header stuff. But when I tried to make a page and assign the template, there were none to select.
2) Wrapping around didnt work, but very likely that I didn’t wrap it right.
When I wrapped it like this:<?php $pages_to_omit_title = array( '200', '116', '2', '11' ); // enter Page IDs, comma-separated global $page; $display_title = ( array_key_exists( $page->ID, $pages_to_omit_title ) ? false : true ); if ( $display_title ) { ?> <h2><?php the_title(); ?></h2> <h2 class="entrytitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <?php } ?>The post title appeared a second time
When I wrapped it like this:
<?php $pages_to_omit_title = array( '200', '116', '2', '11' ); // enter Page IDs, comma-separated global $page; $display_title = ( array_key_exists( $page->ID, $pages_to_omit_title ) ? false : true ); <h2 class="entrytitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> if ( $display_title ) { ?> <h2><?php the_title(); ?></h2> <?php } ?>I got an error:
Parse error: syntax error, unexpected '<' in /usr/www/users/nicefl/wp-content/themes/karappo-style/index.php on line 18I want the dates gone on all the pages (except posts again) as well now. Sorry for the hastle :/
Forum: Themes and Templates
In reply to: Remove title on selected pages.I want to keep the titles on my posts.
But I want to remove the titles of certain pages, most important of all, the one on http://www.niceflowertrading66.com/work
It would be even more awesome if the title was removed and not just hidden, cause else there will be huge whitespace between title and content.
Forum: Themes and Templates
In reply to: Sidebar merge with columnAnswer to my second question:
Header:
<body<?php if ( is_page(array('somepage1', 'somepage2', 'somepage3'))) { echo ' class="myclass" '; } ?>>replace somepage1 with the page slug of the pages you want the special CSS applied to.
now, when those pages are viewed, you have this
<body class=”myclass”>now you can add CSS to the stylesheet to override the default styling
.myclass #content { background-color: #123456; } .myclass #content p { color: #987654; }because that styling is more specific than the default styling, it overrides the default styling whenever the class on the body tag is “myclass”
(source)
Thanks Chip!
Forum: Themes and Templates
In reply to: Sidebar merge with columnVery simple + works, I like it. If I don’t want to change it for all pages, should I make a second stylesheet or something?
Forum: Plugins
In reply to: Mixing NextGen Gallery and LightboxI just realised there’s an option in the NextGen plugin.
Just go Gallery > Options > Effectsand change Shutter to Lightbox. Easy peasy.
Forum: Plugins
In reply to: Mixing NextGen Gallery and LightboxI did it like this
1. Create the lightbox groups you normally do
2. Make a nextgen gallery as well, with the same picsThen go to the nextgen source, and copy all the gallery stuff, make a new page and copy all of it to the HTML part.
Then mix in the lightbox group code as you usually do.
So first you have some “div id” “div class” and “a href”. right before “title” and after the link to your image, you put in the lightbox code:rel=”lightbox[yourgroup]
Only problem is the space between the thumbnails, somehow it became much wider for me.
Forum: Themes and Templates
In reply to: Karappo – navigation menuOk I’m sorry I’ve been stupid, the code used was confusing me, just used a standard a href and it worked 🙂