calrockx
Forum Replies Created
-
Forum: Plugins
In reply to: Facebook-style way to embed webpage links in WordPressI found Embedly Pro, but that’s more for videos and pictures and only works with a limited number of sites. Hoping to find something that’ll work with WordPress for any site..
Well, how about that. I figured it out.
I wasn’t sure how to properly format the query function, but after some more digging and experimenting, this worked:
<?php global $post; $myposts = query_posts("numberposts=50&post_type=bios&name=".$show_local); foreach($myposts as $post) : setup_postdata($post); ?> <!-- display content here --> <?php endforeach; ?>
So cool, it is possible to use a variable as a parameter in query_posts. ??
Btw, outside of the loop I have posted above (which queries the post_type=bios), I have another loop that is able to display the $custom_name_here that I have` in mind:
<?php if ($show_local = get_post_meta(get_the_ID(), 'show_local', true)) : ?> <?php echo $show_local; ?> <?php endif; ?>
What makes this complicated is that I’m trying to use one post_type’s custom field as the search parameter value for another post_type.
Forum: Plugins
In reply to: Custom Field Template and WordPress 3 BetaI’m having a problem with this plugin as well. I’ve assigned a Custom Field Template to a new custom post type I created in functions.php in WordPress 3.0
The Custom Field Template box shows up on the “Add New” page, but is empty. The title of the box doesn’t even change from “Custom Field Template” to the name I assigned.
Forum: Fixing WordPress
In reply to: Multiple visual editorsI’ve seen a way to do this with plugins but it wasn’t very elegant and so far I’m doing everything via the functions.php file.
Forum: Fixing WordPress
In reply to: Using Widgets/Editable content on the site’s front pageAh yes. That’s what I thought. It sorta bugs me it’s labeled “sidebar” even if it’s content for the footer or header or whereever, but I guess you can change that. Not a big deal.
This is another helpful link on the topic: https://wpgarage.com/code-snippets/rename-widgetized-sidebars-in-wordpress/
Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesbut i have the categories as an item in my widgetized sidebar.
when i view my page in a browser and look at the source code, i see the wp_list_categories LIs all wrapped in a UL and /UL tags. but where in the php files is that opening UL tag? i can’t find it anywhere.
Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesThanks, yakuphan.
That is my plan B if i can’t figure out a way to add a class name to the UL in mind.
Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesor is this even possible?
Forum: Fixing WordPress
In reply to: How to edit wp_list_categoriesForum: Everything else WordPress
In reply to: template tag for recent category post photoor rather the photo from a certain category’s most recent post.
anyone?
Forum: Fixing WordPress
In reply to: Two blogs on one siteHmm..I suppose RSS feeds is one way to get the second blog’s recent posts on the home page, but that’s kinda limited.
I want something were I have a full arsenal of template tags to post whatever recent blurbs/photos to the front home page.And I want each blog to have a free range of categories/tags as an independent blog.
Guess I better start looking into MU some more, even if it is only two blogs…
Forum: Fixing WordPress
In reply to: Two blogs on one siteHmm…I suppose that’s possible with categories, but I was hoping to have each blog function without compromise…so that kinda kills using entry categories for each blog.
I don’t mind doing two separate installs, but If I do that can I still call in the latest posts from each section to a single homepage?
Forum: Fixing WordPress
In reply to: Two blogs on one siteI looked at WordPress Mu…but am not sure if that’s overkill or not
Forum: Everything else WordPress
In reply to: Blogging from a Blackberryanyone?