wukka-wukka
Forum Replies Created
-
Forum: Themes and Templates
In reply to: List Posts With Custom Fields as Link Text?Thanks for the advice, Michael, I will try those suggestions ??
Forum: Themes and Templates
In reply to: List Posts With Custom Fields as Link Text?Hi Michael ??
Unfortunately, I dont think I shuld use the pages-links-to plugin because the blog is designed for getting search engine traffic, and I will lose a lot of internal linking juice if I link to redirect pages from the header. I need to link to each individual post from the header. That way, every page and post on my blog has links to all my posts (I only have 6 in total), improving my page rank for each post.
I had no idea what I was asking was anything strange or tricky. I thought there would be some kind of list_posts function, like you get for the browse categories widgets. Then just a bit of code that pulls the custom field data for the link text.
Is there no easy way to do this?
If not, please just give me the hard version, and try to be gentle with the explanation ??
Thanks for your help . I appreciate it ??
Forum: Themes and Templates
In reply to: List Posts With Custom Fields as Link Text?also… i tried replacing that code with the one i originally offered, and the whole page stopped working.
i’m sure i’m missing something very obvious here, but i just dont know php well enough to know what the hell is going on.
is there any way you could break it down really simple for me?
if it helps… this is the full header page i’m trying to get working:
<?php load_theme_textdomain('branfordmagazine'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title> <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » <?php foreach((get_the_category()) as $cat) { echo $cat->cat_name . ' '; } ?> <?php } ?> <?php wp_title(); ?> </title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <?php wp_head(); ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/nav.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/plugins.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/template-style.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/print.css" type="text/css" media="print" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/styles/ui.tabs.css" type="text/css" media="screen" /> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.2.2.pack.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/dropdowns.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/ui.tabs.pack.js"></script> <script type="text/javascript"> $(function() { $('#container-4 ul').tabs({ fxFade: true, fxSpeed: 'fast' }); $('#container-11 ul').tabs({ event: 'mouseover' }).find('a').click(function() { return false; }); }); </script> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> </head> <body<?php if ( is_home() ) { ?> id="home"<?php } ?>> <div id="page" class="clearfloat"> <div class="clearfloat"> <div id="branding" class="left" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"> <div class="blogtitle" ><a href="<?php echo get_option('home'); ?>/"><?php //bloginfo('name'); ?></a></div> <div class="description"><?php //bloginfo('description'); ?></div> </div> <div class="right"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div> </div> <ul id="nav" class="clearfloat"> <li><a href="<?php echo get_option('home'); ?>/" class="on">Home</a></li> <?php wp_list_pages('title_li='); ?> </ul>
Forum: Themes and Templates
In reply to: List Posts With Custom Fields as Link Text?thanks so much for your quick reply.
please excuse my WP dumbness (i’m new to this)…
but if I already have some custom fields for each post, what should i name the new one (that i want for the link text) .thanks