bagosta
Forum Replies Created
-
After I disable the Carousel module, how do I customize Tiled Galleries to use another plugin like Lightbox?
Forum: Fixing WordPress
In reply to: Problem posting HTML on a pageSo is there an answer to this issue, because the same thing happens to me with my tables and it’s really more than frustrating.
Forum: Fixing WordPress
In reply to: Include Content from one page on another.plugin is here: https://guff.szub.net/2005/01/27/get-a-post/
Forum: Fixing WordPress
In reply to: How can I include content of one Page into another?Greatness. Thanks.
So if that’s for one page, how could I write a loop so that it checks for how many pages there are, and then goes and get them one-by-one?
Forum: Fixing WordPress
In reply to: How can I include content of one Page into another?I want to do something similar: display excerpts from pages like they were posts. Why? Because I want to have a dynamically updated list of news clippings that show title, author, download link, etc.
basically this:
Welcome to the News Articles about this band
Longmont Daily Times <-- link to article
Day & Night Magazine
April 14, 2006
"Breath taking"
by Mark T.R. Donohue
download - doc (28KB)
Boulder Weekly <-- link to article
12-29-2005
"About Face"
by Ari Armstrong
download - doc (29KB)
Boulder Weekly <-- link to article
10-06-2005
"Sexual healing"
by Ari Armstrong
download - doc (23KB)Basically I want to treat pages like posts. I guess I could just create them as posts, but that would be lame and a pain for my client to have to keep track of. There are many other menus within the site like this, too.
So far I have this on the parent page, which isn’t working (it gives me posts from one of my categories), but may help:
<?php $my_query = new
WP_Query('child_of=20&sort_column=menu_order'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="post_wrapper_single">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
</div>
<?php endwhile; ?>
Forum: Fixing WordPress
In reply to: Problem styling pages and their subpages separatelyOK, through some helpful CSS hints from the author of Fold Page List.. I managed to fix the highlighting problems.
#leftcolumn a {text-decoration:none;color:#ffffff;}
#leftcolumn a:hover {color:#fdae00;}
#leftcolumn .current_page_item a{color:#fdae00;}
#leftcolumn .current_page_ancestor a{color:#fdae00;}
#leftcolumn .page_folder ul a{color:#ffffff;}
#leftcolumn .page_folder ul a:hover{color:#fdae00;}
#leftcolumn .page_folder ul .current_page_item a{ color:#fdae00;}Sets style of all links
sets hover for all links
Highlights active page link (only touches parents with or without child)
Highlights parent with active child page link
Sets all children to “normal”, not highlighted when parent page link is
Sets hover for children link
Highlights active child page link