3Plumes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Post Format, and CodeAhhh, thanks!
Forum: Fixing WordPress
In reply to: the_meta()Thanks for the ideas Jonas. I unfortunately ran out of time and had to do something that was far from ideal:
<?php if(is_home()) { echo 'custom testimonial goes here'; } elseif(is_single()) { echo 'custom testimonial goes here'; } elseif(is_category()) { echo 'custom testimonial goes here'; } elseif(is_archive()){ echo 'custom testimonial goes here'; } elseif(is_search()) { echo 'custom testimonial goes here'; } elseif(is_404()) { echo 'custom testimonial goes here'; } else { the_meta(); } ?>I’ll revisit your suggestions later and see if I can get them to work.
Thanks
Forum: Themes and Templates
In reply to: ShortlinkFigured it out. Got the answer here:
http://wordpress.org/support/topic/the_shortlink-how-to-show-just-link?replies=9
Forum: Themes and Templates
In reply to: ShortlinkDoes anyone have an idea on how this can be done?
Forum: Fixing WordPress
In reply to: Search ResultsSorry for the slow response. I’m searching from the side bar, and the results are displayed on the search.php template.
Forum: Themes and Templates
In reply to: ShortlinkThis is my code:
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Search ResultsSorry, I didn’t use query_posts(); in particular 🙁
Forum: Fixing WordPress
In reply to: Search ResultsThat works (why didn’t I think of that?)!! Thank you very much!
Is there a way to NOT limit the results to the amount of posts stipulated per page? I currently limit posts to 10 per page, but would like to display more results if available
Thanks!
Done (updated). Thanks again
Okay, that made it work, thanks bunches. Good work by the way; this is a nice addition.
Okay, I’ll give it a gander now. What’s really strange is I haven’t used ‘www’ anywhere; It’s registered in GA as ‘http://themomspa.com’.
Thanks for the compliment on the design; yes . . . it’s a custom WP theme.
I’ll follow up after I tinker with the domain registration piece.
Thanks
Hi,
It does make sense. However, I haven’t been able to get the dropdown to populate. I keep getting the following error:
The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:
The site “http://themomspa.com” has not been registered.
I log in to GA and can see data, but not through the plugin.
Thanks
Forum: Themes and Templates
In reply to: Randomly loading an included fileWorks like a charm!! Thanks David.
Karl
Forum: Themes and Templates
In reply to: Randomly loading an included fileThanks. I tried the code but I’m getting an error on the 4th line:
Parse error: syntax error, unexpected T_IF
The following is what I added:
<?php $rand_id = rand(1,2); $file_name = TEMPLATEPATH . '/inc_home_content_'.$rand_id.'.php' if(file_exists( $file_name )) include_once( $file_name ); ?>Forum: Themes and Templates
In reply to: Query ConfusionNice!!! I used your second example and it works like a charm!! Thanks very much.