Ann-Sophie
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Archive acting weirdHi, yes that makes sense.
I think i just had a blonde moment…Thanks anyway ??
Forum: Themes and Templates
In reply to: Archive acting weirdHi,
I put this code to the bottom of my archive page, as I only want the archive for the Blog category:
<?php query_posts('cat=1&posts_per_page='.get_option('posts_per_page')); ?>
But now the archive doesn’t show me the older posts anymore when I click “Oudere berichten” … Please help!
Forum: Themes and Templates
In reply to: Work-A-Holic ThemAlso: you should make a transparent png image of your header image, then it will blend in nicely with the background texture…
Forum: Themes and Templates
In reply to: Work-A-Holic ThemTry to add the no-repeat after your image url, like so:
h1 a { background:url (https://albino-monkey.com/wp-content/uploads/2011/05/AlbinoMonkeyHeader.gif) no-repeat top left; width:561px; height:129px; text-indent:-9000px; display:block; overflow:hidden; }
Forum: Themes and Templates
In reply to: Work-A-Holic ThemI think you should set a width and height to your header image.
So add the following code to h1 a:h1 a { background:url (https://albino-monkey.com/wp-content/uploads/2011/05/AlbinoMonkeyHeader.gif); width:561px; height:129px; text-indent:-9000px; display:block; overflow:hidden; }
That’s the way I would do it at least…
Forum: Themes and Templates
In reply to: Archive acting weirdYes thanks, the second one works!
Forum: Themes and Templates
In reply to: Archive acting weirdHello alchymyth,
the “page 2” code was in the header indeed. Thanks for pointing that out.
And yes it has a query
<?php query_posts("cat=1&post_per_page=5") ?>
I don’t understand what to add to this query.I tried the following code but it doesn’t work:
<?php query_posts("cat=1&post_per_page=5&'paged=' . get_query_var( 'page' )") ?>
Forum: Themes and Templates
In reply to: Archive acting weirdYep that’s it, thanks..
Because I’m new to WordPress, I didn’t know there was a class called date already….Do you know why the posts of page 2 aren’t showing correctly? And where can I delete that annoying “Page 2” tag?
Forum: Themes and Templates
In reply to: Sliding doors CSS technique to custom menuSorry I didn’t mention that, but for me, this is really a trial by error ??
Thanks though, because this is working now! Problem solved.Forum: Themes and Templates
In reply to: Sliding doors CSS technique to custom menuOh right indeed ??
It should be inside the<a></a>
of course…Forum: Themes and Templates
In reply to: Sliding doors CSS technique to custom menu<ul id="navigation"> <?php wp_nav_menu( array( 'menu' => 'custom menu' , 'before' => '<span>' , 'after' => '</span>' )); ?>
This is my code now. Is this correct? I don’t know any PHP, sorry if this is ridiculous…
I need a <span>-tag around each element to get my CSS working.Forum: Themes and Templates
In reply to: Sliding doors CSS technique to custom menuDo you mean I need to put <span>-tag before and after?
I’ll try it…Forum: Themes and Templates
In reply to: Sliding doors CSS technique to custom menuUp…
Anyone please?[ https://codex.www.ads-software.com/Forum_Welcome#No_Bumping ]