eduvauchelle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Title permalinks and categoriesForum: Fixing WordPress
In reply to: Title permalinks and categoriesso how does displaying the most recent posts help me?
i will aslo have a BLOG section later, and i don’t want those to show in my work list…
Forum: Fixing WordPress
In reply to: Content not workingthanks it was div… overlap.
Forum: Fixing WordPress
In reply to: Content not workingok i will try that.
now, what about showing only the title entries of WORK category in a list that will link to that entry?>
thanks Moshu.
e
Forum: Fixing WordPress
In reply to: Content not workingsorry i put the wrong link
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryOK
got it to worki used this loop
<?php
query_posts(‘category_name=work&posts_per_page=-1’);
while (have_posts()) { the_post(); ?>” rel=”bookmark” title=’Permanent Link to “<?php the_title(); ?>”‘><?php the_title(); ?>
<?php } ?>
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryyeah i looked at that, but i just don’t understand it.
as i mentioned before i am using one page only, and no sidebar, header or footer PHP files
here is my code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”><head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats please –>
<style type=”text/css” media=”screen”>
@import url( <?php bloginfo(‘stylesheet_url’); ?> );
</style>
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”Shortcut Icon” href=”<?php bloginfo(‘stylesheet_directory’); ?>/favicon.ico” type=”image/x-icon” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?></head>
<body>
<div id=”container”><!– begin container –><div id=”sidebar”><!– begin sidebar –>
<div id=”header”>
<img src=”image.gif” />
<?php bloginfo(‘name’); ?>
</div>
<div id=”desc”>
»<?php bloginfo(‘description’); ?>
</div><div id=”shortbio”>
Contre Coups is the creative studio and portfolio of Eric Duvauchelle focusing on graphic design, web & interaction design, luxury & street brands and soon: <i><b><u>you</u></b></i>.
<br>
<br>
hello{at}contrecoups.com<br>
C: 503.453.6105<br>
</div><!– begin sidebar –>
<h3>Blog,</h3>
<h3>Work,</h3><form id=”searchform” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
<div>
<input class=”box” type=”text” name=”s” id=”s” />
<input class=”button” type=”submit” id=”searchsubmit” value=”Search” />
</div>
</form><!– begin scroller –>
<div id=”contentblock”>
<div id=”content-wrapper”>
<div id=”content”><?php wp_get_archives(‘type=postbypost&limit=5000&cat=2’); ?>
</div><!– close content –>
</div><!– close content wrapper –><!–=== DIV::SCROLLBAR ===–>
<div id=”scroll-wrapper”>
<div id=”scroll”></div>
</div></div><!– close contentblock –>
<!– end scroller –><div id=”sidebarfooter”>
<div class=”credit”>
Work © to Eric Duvauchelle
Contre Coups 2000/2007
</div>
<?php _e(‘Feeds’); ?>
” title=”<?php _e(‘Syndicate this site using RSS’); ?>”><?php _e(‘RSS Contents’); ?>
</div></div><!– end sidebar –>
<div id=”main”><!– begin main –>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h3 class=”storytitle”><?php the_title(); ?></h3>
<div class=”meta”><?php the_time(‘Y’); ?>
</div><div>
<?php the_content(__(‘(more…)’)); ?>
</div></div>
<?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?></div><!– end main –>
</div><!– end container –>
</body>
</html>Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryok sorry got the post thing and all with next previous.
now….
i still can’t remove or find the answer to only showing the TITLES to the work navigation on the left and not have the titles of the blog category.
any help…
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryit might be worth noting i am not using a sidebar.php or content.php or whatever, i remade a single page with all my code i find it easier this way to manage.
e
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryso that worked for th blog page.
now, i just thought of another loop hole.
say i want only the latest 5 posts in BLOG to show and then have NEXT / PREVIOUS entry button at the bottom of that page to go the other posts of BLOG only so that i don’t end up with a page that has 200 entries in the next 4 months…
sorry to ask so many questions, it’s all confusing.
e
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categorycool i will try that.
now how do i only show the WORK titles in my navigation on the left.
Also do you have any idea why those titles on the left don’t return to the line and all butt each other.
thanks moshu you are a great help. this is all so new to me.
but i am learning
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryThe way the site works.
It has a home.php file that overrides teh index.php for the site structure so that i can have my intro page with random image blocks as seen http://www.contrecoups.com/workthen i have a scrolling div box with this code:
where i want all teh titles from the category WORK only to show.<?php wp_get_archives(‘type=postbypost&limit=5000&cat=2’); ?>
but i also want to add on top where it says Work a link called Blog that i want to load a new page with latest 5 blog entries, and next/previous page at the bottom of the page too.
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryi have a blog and work category,
and subcategories in work as wellwork is not a link though.
i only want BLOG to be a link to a new page taht loads entries to the blog category
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categorycan you explain your concept a little more please.
i am new to all this.thanks
Forum: Fixing WordPress
In reply to: show only one category and exclude titles from a categoryno one./….