wpismypuppet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Category pages display server errorHmmm… looks like you have a few issues, but the one in question might be related to your archive.php file. Looks like you have an IF statement that has not be properly closed. Maybe you are missing curly braces or something. Can you show the code for that file?
Just as an FYI, Chrome gives the 500 server error, but Firefox just shows a white screen. This leads me to believe it’s a PHP error. That and the fact you have a PHP error in your log is pretty strong evidence 🙂
Forum: Fixing WordPress
In reply to: $found_posts$wp_queryis a global variable that will hold the information for the current loop. You should just be able to use$wp_query->found_postsanywhere on that page to get your results. If it’s not working, try globalizing$wp_query(global $wp_queryat the top of the page).Forum: Fixing WordPress
In reply to: Tags Listed by Category, Need Tag Links by Category, tooYou are welcome
Forum: Fixing WordPress
In reply to: Tags Listed by Category, Need Tag Links by Category, tooNot that I know of… and the function you are using is a custom function anyway, not a WordPress default function. Here’s what I would do… Since you already know the category ID (it’s the page you’re on anyway category-3.php) I would tack it onto the URL:
foreach ($tags as $tag) { $content .= "<a href=\"$tag->tag_link\?cat=3">$tag->tag_name</a>"; }Then on the tags.php page, or the archive.php page, whichever you are using, use my method above and add:
global $query_string; query_posts( $query_string . '&cat=' . $_GET['cat'] );to the top of the page. See if that works.
Well in doing a little research I have found that TONS of people have problems with this plugin and GoDaddy. Apparently GoDaddy servers are very picky when it comes to email. The fact that you got it to send email at all seems like a plus in your corner. I doubt you will get this to work from what I’ve read.
I particular would not recommend GoDaddy for any reason, but if you are intent on sticking with them as a hosting company, you’re probably out of luck. If it helps, we use Gravity Forms on a ton of sites. Costs some cash ($40 for a personal license) but it’s an amazing plugin, and very powerful. We’ve used it on a GoDaddy server without any difficulties. Maybe try a new plugin?
P.S. Sorry about the hair… Do you have kids? Because you should save what hair you have left for them… they’ll make it grey first though, then it’ll fall out when they’re teenagers!
I would try using the PHP mail() function instead of SMTP… see if that change helps. PHP mail() should use those fields correctly. This is found under the advanced email options area.
Any chance you could send a screenshot of your form’s edit area?
Forum: Fixing WordPress
In reply to: Logo change wih languageIn your header.php file is the code pumping out the logo. I don’t know what theme you are using, but if you are unfamiliar with how to edit the template files, you should read:
http://codex.wordpress.org/Editing_Files
And since the logo is mostly text (meaning that the words hispanicalliance.com in the logo are text, not an image) except for that downward triangle with an H in it, it should translate with the rest of the site. Though if you are using a plugin to do it, you might want to read the FAQs and documentation of the plugin to see what they suggest.
__( )is WordPress’ function for translation, so this should not be an issue.Forum: Fixing WordPress
In reply to: How to make featured images clickable?Hmmm… the code you posted above… look for the line that reads:
<img class="<?php echo $solostream_img['class']; ?>" src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $the_img_url; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" />and replace it with the code I wrote above.
Forum: Fixing WordPress
In reply to: Tags Listed by Category, Need Tag Links by Category, tooThe problem here is that you are using get_category_tags with an argument to limit the tags to those assigned to the currently viewed category. However, when you get to the tags page (tag.php or archive.php) you are not using a query to get the category associated with the tag clicked from the previous click! (confusing, I know)
What you need to do, is on your category-3.php page, where you are shooting out the tag links, you’ll want to pass the category ID along with it somehow… either in the URL or by POST. In either case, on your tag.php or archive.php (whichever you are using) modify the loop following these instructions:
http://codex.wordpress.org/Function_Reference/query_posts
Something like:
global $query_string; query_posts( $query_string . '&category=[category_number_from_URL_or_POST]' );Of course, replace
[category_number_from_URL_or_POST]with whatever method you pass the category along. You can also use an array if you have more than one category you wish to include.Forum: Fixing WordPress
In reply to: How to make featured images clickable?Wrap the
<img>tag in the anchor tag as the title, or the ‘Continue Reading’:<a href="<?php the_permalink() ?>" rel="<?php _e("bookmark", "solostream"); ?>" title="<?php _e("Permanent Link to", "solostream"); ?><img class="<?php echo $solostream_img['class']; ?>" src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $the_img_url; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" /></a>Forum: Fixing WordPress
In reply to: Logo change wih languageI believe you’ll want to wrap the text in this function:
__()found here:http://codex.wordpress.org/Function_Reference/_2
Maybe something like this, taken from your website’s code:
<div id="logo"><h1><a href="/" onclick="javascript:_gaq.push(['_trackEvent','Header - Expiry - Lander', 'logo-click', 'hispanicalliance.com']);"><?php echo __( 'hispanicalliance.com' ); ?></a></h1></div>You should read the FAQ section of the plugin’s site:
That should answer your question.
Forum: Fixing WordPress
In reply to: Adding recent postsYou are welcome
Forum: Fixing WordPress
In reply to: Improt users from CSVYou are welcome