dallasmoore
Forum Replies Created
-
Forum: Hacks
In reply to: Trackback Comment Type is 'comment' ?I don’t want to stop self-pings, I just don’t want them to show up when I call the comments in my widget. If I wanted to stop, I would just delete them instead of approving. I am using this code
<?php $thinkfan_comments = get_comments( array('number' => 5,'status' => 'approve') ); foreach($thinkfan_comments as $comment) : $comment_type = get_comment_type(); if($comment_type == 'comment') { echo('<div class="post"><p class="comment">'.substr($comment->comment_content, 0, $instance['limit']).'...<span class="commentmore"><a href="'.get_permalink($comment->comment_post_ID).'">Join The Conversation</a></span></p>'.get_avatar( $comment->comment_author_email ).'<p class="thinksidedate"><em>by '.$comment->comment_author.'</em></p></div>'); } else { $trackback = true; } /* End of is_comment statement */ endforeach; ?>Thanks!
Forum: Fixing WordPress
In reply to: Taxonomy list not showing with wp_list_categoriesSolution found. Good news is that there is no major flaw in the previous release of WordPress! Bad news is that I think my brain may have died a little bit more than usual right before I posted this question.
Although taxonomy terms should definitely be transferred with site exports. Someone look into this please?
Forum: Fixing WordPress
In reply to: Adding a blank page within a themeCool deal. The line is from the background image for
body #content { background: url("images/singlebg.gif") repeat-y scroll 0 0 transparent; height: auto !important; min-height: 500px; }on line 27 of your style sheet. Change that to this and you’re good to go.
body #content { background-color: white; height: auto !important; min-height: 500px; }🙂 Glad you fixed it.
Forum: Fixing WordPress
In reply to: Adding a blank page within a themeAnd yes, 940 is what I meant as well. XD Silly fingers.
Forum: Fixing WordPress
In reply to: Amazon Astore Won't fit in my wordpress template. Please Help.Well, I would think the issue would be with the Amazon aStore code and getting it to wrap properly, which isn’t something I could help you with as I am not familiar with Amazon aStore. But I can help you tweak the Thematic theme so that the store fits properly, if you would like. In the page editor, is there a template option somewhere? You would want to select full page if there is. If you have skype, I would be more than willing to help you out that way and save room here in the forums.
Forum: Fixing WordPress
In reply to: Adding a blank page within a themeWell, part of my problem is that I was referring to the original’s poster’s website. That could be why ;). But your content division is fine, you just need to change the .single-main to <div class=”single-main” style=”width:640px;”>
Forum: Fixing WordPress
In reply to: Amazon Astore Won't fit in my wordpress template. Please Help.Ah, I’m not too familiar with thematic. Where are you inserting your code? Or is it a plugin?
Forum: Fixing WordPress
In reply to: Amazon Astore Won't fit in my wordpress template. Please Help.Is it possible to post a link to your site?
Forum: Fixing WordPress
In reply to: Show a post into a post pageI’ve taken this example from the following codex page on Loops: http://codex.wordpress.org/The_Loop You can only call one wp_query unless you create a separate variable. This is just one of the examples given on the page.
// going off on my own here <?php $temp_query = $wp_query; ?> <!-- Do stuff... --> <?php query_posts('category_name=special_cat&posts_per_page=10'); ?> <?php while (have_posts()) : the_post(); ?> <!-- Do special_cat stuff... --> <?php endwhile; ?> // now back to our regularly scheduled programming <?php $wp_query = $temp_query; ?>You would obviously want to substitute your own query args and content.
Forum: Fixing WordPress
In reply to: /wp-admin credentials not workingOkay, well that wouldn’t have anything to do with logging into wordpress.com then. Unless maybe you think you used the same information.
Either way, you should access the database associated with your wordpress installation via phpMyAdmin. It should end in _wrdp1 or something similar. There you will find a wp_users table. It will show all of your usernames/passwords.
If you haven’t changed it and forgotten, I would change it as soon as you can log in, as well as any other usernames or passwords associated with the installation. Also think about adding extra security measures/plugins in case it was a hack attempt.
Forum: Fixing WordPress
In reply to: /wp-admin credentials not workingAre you using a wordpress.org self-hosted site, or a wordpress.com community site?
Forum: Fixing WordPress
In reply to: Adding a blank page within a themeHi Rob, in your page template, you should have
<div id="content">or something similar. You should add the style parameter to it, to make it wider. Like this<div id="content" style="width: 980px;">Let me know if that does or doesn’t help. Be more than glad to help you out more. 🙂
Forum: Fixing WordPress
In reply to: Filter out custom taxonomy term on home page loopOkay, well I have went past the query post as a temporary fix and included an if statement inside the loop to check if a specific model is returned from strip_tags(get_the_term_list($post->ID, ‘Models’)). If so, I leave it blank, and then include the rest of the loop content after the <? else: ?>. The problem with this is, each of those posts are still included in the post counter, so my showposts=10 is reduced by however many posts it skipped. o.O Is there a workaround for this? Alternatively I am still open to fixing the original issue!
Thanks.
Edit: I tried adding my own counter in so that I could possibly go back and edit the query after the 10th post and add back the number of posts that were excluded, but by echoing the variable it only shows the original value before the loop started.
Forum: Fixing WordPress
In reply to: Filter out custom taxonomy term on home page loopHere is the link to the query_posts page that I am pulling my tax_query info from http://codex.wordpress.org/Template_Tags/query_posts
Forum: Fixing WordPress
In reply to: Combining WordPress BlogsBoth of the sites are already well established and receive very high amounts of traffic. We would prefer keeping them on their separate hosting accounts if possible. We just want to be able to syndicate content from one site to another, and possibly tweak the content on the second site just a bit.
There is always a way, I’m just trying to figure out this one! 🙂