nathanielstern
Forum Replies Created
-
OK, while I could not do it within the YARPP template, I could call it from my theme, twice, and it seems to use the same settings other than the one I overwrite. So I do this:
<div style="font-size:.9em; line-height:1.5;">Related artworks: <?php yarpp_related(array('post_type' => array('portfolio'))); ?><br /> Related press: <?php yarpp_related(array('post_type' => array('post'))); ?><br /></div>
And we’re happy!
Forum: Plugins
In reply to: sitemap.xml emptythanks mosey. edmilla – i’ve found that it puts the sitemap.xml in the same folder the blog is in and not the install by default. change that in the settings page and it might help. i still have no idea what these errors are…
Forum: Plugins
In reply to: missing multipage posts in sitemap.xmlThis is a bug. Not sure how to reach the author of the plug in (hope you get this! didn’t want to bother you with a personal email), but here’s the fix for those who want it.
In the file “sitemap-core.php,” find the line:
for($p =1; $p<=$post->postPages; $p++) {Change it to:
for($p =2; $p<=(($post->postPages)+1); $p++) {Then rebuild. That’s it!
Of course, google downloaded my sitemap for the first time 30 minutes before I finally figured it out, but I guess they’ll get the paged links next month…. Thanks for a great plugin!
Forum: Plugins
In reply to: sitemap.xml emptyoh crap. i thought it was supposed to be in the same folder as wp-config? oh well, who cares, it works! thanks! sorry for the trouble…. should i just not worry about these errors then? are they there because my backend/wordpress install is in a different folder than my blog?
Forum: Everything else WordPress
In reply to: Anyone using WordPress as a CMS not BLog?i have two wordpress installs – one for the blog, one for the Content Management System, which is a pretty hot portfolio of my artworks, if you ask me….
Forum: Fixing WordPress
In reply to: advanced rewrite helpOk, maybe someone can at least suggest where I might look for help? I just don’t understand most of the stuff that I’ve found about rewritecond, etc online; i need an explanation of the symbols used, not just what each line does, if I’m to write my own version. Thanks, n
Forum: Fixing WordPress
In reply to: advanced rewrite helppretty please?
Forum: Fixing WordPress
In reply to: advanced rewrite helpbump
Forum: Fixing WordPress
In reply to: advanced rewrite helpbump – did a lot of searching, still no luck. i tried this:
RewriteCond %{HTTP_HOST} ^nathanielstern.com$ RewriteCond %{REQUEST_URI} ^/images/ RewriteRule ^(.*)$ /media/old-images/$1
But to no avail. Anybody?
Forum: Fixing WordPress
In reply to: Exclude posts from main Loopalso see cheap workaround in this post
Forum: Plugins
In reply to: Best Photo Gallery Plugini love using flickr photoset with slickr gallery
Forum: Plugins
In reply to: exclude a category from get_the_categoryDid it!
OK, I did an uber cheat string replace for the link with “nothing” in my template. My category name is descending, and the category list sits behind the slug “art.” so the call goes as follows:
<?php echo (str_replace('<a href="'. get_settings('home') .'/art/descending/" title="View all posts in descending" rel="category tag">descending</a>,', '', (get_the_category_list(', ')))); ?>
Thanks for the help!
Forum: Plugins
In reply to: exclude a category from get_the_categoryi made a mistake; i’m calling get_the_category_list which in turn calls get_the_category in a loop, so I’m kinda doing what you say here, but using WP’s built in functions. i could, rather, rename and rewrite these functions in my functions.php, per your suggestion above, and then just exclude my one category this way (or with unset, per the other code above), but I’m wondering if there is not a more efficient solution? if not, so be it. let me know what you think.
thanks, n
Forum: Fixing WordPress
In reply to: Exclude posts from main Loopam gonna start a new thread, as this has the wrong topic and i wont be able to say it’s “resolved” when it is….
Forum: Fixing WordPress
In reply to: Exclude posts from main Loopthe unset($categories[17]); solution that DSGJohnDoe posted seems to be the easiest, but is there a way to do it without chaning the core code – either as a plugin or in the functions.php file?