get_username
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How do you query a specific tag name?Nope, no example site, but you can look at the site I’m working on.
https://burtcrismore.com/clients/goates/about.htm
This is purely the html version, not WordPress. Look down near the bottom of the page and you’ll see the single testimonial.I’m definitely not talking about posts and pages as being the same. I have a page. That page has a testimonial. In there end, there will be many testimonials. Each testimonial will be a post. I will categorize each testimonial so that the testimonials can have their own page, and be viewed in different groupings based on their category.
Now, for my unique case seen above in the link, I want to allow the user to choose one of those testimonials for each individual page. For example, about will have one, contact us will have another.
I hope that makes sense. Thanks for trying to help out.
Forum: Themes and Templates
In reply to: How do you query a specific tag name?Hey Kevin,
Thanks for the response. I’m not sure that would work because every testimonial needs to have a unique identifier, and each page is going to have a different testimonial. Maybe I’m misunderstanding you.
Forum: Themes and Templates
In reply to: How do you query a specific tag name?Maybe I’m not explaining this well enough. Most arguments are based on simple filters like post count, category names, etc. I’d like to create an argument that basically says, “user has tagged a post, so I’ll grab that unique post name and show the content.” I hope this helps.
Forum: Themes and Templates
In reply to: Multiple Header Images Using Single TemplateThanks, zex2911! I’ll give that a shot and see if it works.
Forum: Themes and Templates
In reply to: Static Home Page Best PracticesThanks, bdbolin, for the response. Yeah, I read through that Theme Dev page, and it has a lot of useful info. I’m confused with the blog page in general because it says not to apply a template. That said, I think WordPress uses index.php as the default blog post page; therefore, modifying this page means you wouldn’t have to choose a template for the blog page anyways, correct? It’s just slightly confusing once you add a static page to the mix, but makes sense for the most part.
Thanks,
BurtForum: Fixing WordPress
In reply to: No posts statement not showing upThat was it! Thanks for taking a look. I knew it was something simple.
Forum: Fixing WordPress
In reply to: No posts statement not showing upPlease let me know if I need to explain further.
Forum: Fixing WordPress
In reply to: No posts statement not showing upAnyone? This seems like any easy fix. If someone could quickly look through my code above to make sure I’m not missing something it would be most appreciated.
Forum: Fixing WordPress
In reply to: No posts statement not showing upForum: Fixing WordPress
In reply to: $post->ID showing page ID number instead of postIt looks like it all has to do with my custom taxonomy. Apparently, using
cat=10
is not valid when using a custom tax. For it to work, I had to call my registered taxonomy name and equal that to the custom category name. For example:<?php query_posts ('post_type=class&class_type=basic-class');?>
Unfortunately, this took me hours to figure out.
Forum: Fixing WordPress
In reply to: $post->ID showing page ID number instead of postIt seems to have something to do with my query.
<?php query_posts ('post_type=class& orderby=date&cat=10&posts_per_page=-1');?>
I’ve created a custom post type called “class” but when I echo get_post_type it does not return anything. As soon as I delete my query_posts, my echo then shows “page.”
Forum: Fixing WordPress
In reply to: Can a Category and Page share the same name?Anyone?
Hey Adam,
Did you figure out how to change the Auto Draft (title) to a custom field? I’m trying to do the same thing.
Thanks
Forum: Fixing WordPress
In reply to: How do you place a featured image into the post?Hi Christine,
One more question. Is it possible to create an array that tells the image to come after an H1 tag? It works great if I just have a paragraph, but I do have posts where an H1 is thrown in and the image ends up sitting before the H1 instead of my paragraph. I wonder if there is some sort of code that is similar to other functions that call for a ‘before’ and ‘after’?
Thanks,
BurtForum: Fixing WordPress
In reply to: How do you place a featured image into the post?Hi again Christine,
I found the offending line of css code. For some reason I had a clear on my P tags. Don’t ask me why I did this, but it works now. I do thank you for getting me to take a second look at my code as apposed to thinking WP didn’t support this feature.
Thanks,
Burt