michaelmcguk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to… create standard ‘blocks’ on site?Brilliant.
Many thanks for your speedy reply ??
Forum: Plugins
In reply to: Search engine code?Great. Thanks again, you’ve been very helpful. I am new to WordPress having come from a C# and PHP background ??
Forum: Plugins
In reply to: Post Archive?Brilliant, you’re a legend!
Forum: Plugins
In reply to: Post Archive?Brilliant jeremy. Many thanks!
Is there a list of the wp_ like functions anywhere?
Forum: Plugins
In reply to: Post Archive?Hmm, maybe I removed it, when I was editing it heh.
Can you please tell me the line I require to generate the list?
Just so it shows something like:
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007etc.
Thankyou.
Forum: Themes and Templates
In reply to: Correct CSS referencing a class?Brilliant. You’re a legend.
Many thanks, it worked a treat ??
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?Anyone? Anyone? Bueller?
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?Can I PM/email you the link Otto, I’d prefer not to make it public?
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?OK.
HTML :
<ul id="navlist"> <li class="page_item page-item-4"><a href="blabla.php">asasas</a></li></ul>
CSS:
li.page_item page-item-4 a { margin-left:10px; margin-right:10px; margin-top:10px; font-weight:bold; }
Is there something obvious I’m doing wrong, as I’m still not getting the desired effect.
Again, thanks for the help fella’s, sure we’re almost there.
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?I just need to style the text within the
<li>
item.How can I do this?
I did try, to no avail, this:
li.page_item page-item-4,li.page_item page-item-5,li.page_item page-item-8 { margin-left:10px; margin-right:10px; margin-top:10px; font-weight:bold; }
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?Hmm, it might actually make sense just to create my own function for this purpose. Cheers.
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?Uhm ok.
It’s a bit complicated, but some of the links run over 2 lines, so I had two classes. The second one for the longer lines:
‘.two {
margin-left:10px;
margin-right:10px;
margin-top:2px;
font-weight:bold;
}’So, could you point me in the right direction for the dynamic highlighted menus.
I really just wanted to place it in a div to give some ‘padding’ to the text in the box, using the above css. It does it in my pre-WP template, but not in my WP one.
Thanks for your patience with this issue.
Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?How should I re-think it?
Can I have an example that would work with WP?
Here’s the code I want to apply to the text:
‘.one {
margin-left:10px;
margin-right:10px;
margin-top:10px;
font-weight:bold;
}’Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?It’s not so much the styling of the list item.
I require styling (and the inclusion of) the <div> tag within the list item, so I can style the text.Forum: Fixing WordPress
In reply to: ‘wp_list_page’ configuration?Thanks for the reply.
Yes, I looked at this however, it didn’t seem to do what I was after.
I’d like to have the following, but can’t seem to get in and edit the wp_list_page:
<li class="part name part name 2"><a href="#"><div class="class name">LINK TEXT HERE</div></a></li>
??Because of my unordered list, I want to format the links using the ‘class name’ part of that div, but I can’t seem to get in there and edit it. It just echo’s out the links:
<li class="part name part name 2"><a href="#">LINK TEXT HERE</a></li>
??Should I use something similar to this where they’ve added a style?
<ul> <?php global $id; // teensy bit insane, sorry $date_format = '<\b\r /><\s\p\a\n '. '\s\t\y\l\e="\f\o\n\t-\s\i\z\e: \s\m\a\l\l\e\r">'. '\l\a\s\t\m\o\d Y-n-j</\s\p\a\n>'; wp_list_pages("title_li=&child_of=$id&show_date=modified &date_format=$date_format"); ?> </ul>
Any help would be great.