elindquist
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideYou were awesome. Thanks for your help. There must be something strange going on in the code – I can’t for the life of my figure out why it keeps bringing up the wrong category.
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideBoth results are still pulling the wrong post category. Oh, for monkey’s sake, this is way too much work for a minor change! I’ll just change the post title to “Category: Title”!
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideIt added a link to the category name, but it still pulling Blog, rather than the correct one.
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideSorry, it hit my bedtime last night. The first string gave this result: http://www.looseleafstories.com/beta/titling.jpg
I added the h2 formatting, but the category listed is incorrect.Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideIn
<?php $category = get_the_category(); echo $category[0]->cat_name; ?>
the category being pulled is 0 only, which is my blog. How might I set it to pull the category of the attached post?Forum: Themes and Templates
In reply to: Tutorial Based Theme?What sorts of features and/or aesthetic are you looking for?
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideThanks!
Forum: Themes and Templates
In reply to: Mystique theme: Display category on Featured slideYes, that’s the one.
Also, my site is here: http://www.looseleafstories.com
Forum: Themes and Templates
In reply to: Display navigation for posts only in specific categoriesAbsolutely perfect! Thank you, Alchymyth.
Forum: Themes and Templates
In reply to: Add an anchor to a generated linkI guess sleepiness is all I needed. I found a simple, one-line fix for my entire issue. I just put an autojump to the content in single.php and it does exactly what I need. No need for filters… Sorry, looks like I wasted your time. >.<
Forum: Themes and Templates
In reply to: Add an anchor to a generated linkDo I need to add it to a specific section of function.php or otherwise divide from the existing content? I’ve added it to the end of the document and it crashes the theme every time.
Forum: Themes and Templates
In reply to: Add an anchor to a generated linkSorry, that’s only the link output. The full output is « Chapter 26: Prayers Unanswered, page 1. All I need it to do is add
#LLScontentto the link.Forum: Themes and Templates
In reply to: Add an anchor to a generated link<?php previous_post_link('« %link', '%title', TRUE); ?>outputs (in this case): http://www.looseleafstories.com/2010/09/chapter-26-page-1/I need it to output: http://www.looseleafstories.com/2010/09/chapter-26-page-1/#LLScontent
I’m not sure what before/after you want, to I apologize if this isn’t even close to what you’re asking. This example is pulled from this page.
Forum: Fixing WordPress
In reply to: How can I put 'nofollow' attribute on next_post_link() ??Sure thing: Add an anchor to a generated link
Forum: Fixing WordPress
In reply to: How can I put 'nofollow' attribute on next_post_link() ??I actually did start a thread about this, but had no responses. Thanks for answering anyways! 🙂
Okay, here’s the details. I’ve used the below code to create navigation between posts, but I need to append the #LLScontent anchor to the link so that it skips past the header.
<div id="nav-above" class="navigation"> <div class="nav-previous"><?php previous_post_link('« %link', '%title', TRUE); ?></div> <div class="nav-next"><?php next_post_link('%link »', '%title', TRUE); ?></div> </div><!-- end #nav-above -->Again, thank you!