You must be a logged-in exclusive member to view this reply.
Topic Info
- 105 posts
- Started 7 months ago by Justin Tadlock
- Latest reply from Justin Tadlock
- RSS feed for this topic
You must be a logged-in exclusive member to view this reply.
Byline and entry meta shortcodes
I'd like to be able to use the same shortcode (with different arguments) twice. Right now when I want to list categories and a custom taxonomy, only the first called shortcode get's executed.
$byline = '<p class="byline">By [entry-author] [entry-terms taxonomy="category" before=" | "] [entry-terms taxonomy="brands" before=" | "] [entry-edit-link before=" | "]</p>';
The above $byline would produce a byline like this:
By Jistun Todlack on January 14, 2010 | WerdPross, Thimy Hebred [entry-terms taxonomy="brands" before=" | "] | Edit
A shortcode for displaying custom fields
This should be pretty easy, but I'd really like this extra shortcode. The get_post_meta() would be a solid base for this shortcode. I believe there are some plugins adding this shortcode.
You must be a logged-in exclusive member to view this reply.
Allow for NOT in Atomic Hooks
For example, to have my_function called on all pages but ID 12:
add_action("hybrid_not-singular-page-12_before_content", "my_function");
I took a look at the get_context plugin, and it looks like this might be tricky, but I'll throw it out there anyhow.
Hook between posts
Outside of the post div. The area mentioned in this post:
Widget Area between nth and n+1th post on frontpage
Doesn't have to be a widget, as the Hybrid Hooks plugin could widgetize it if necessary, but I think it'd be a handy place to have a hook, and I think you could add it without messing up current sites. The $post_count value within the hook would be handy.
OK, I'm biased, but I'd love an "extension" for Buddypress. Given BP1.2 will work on Wordpress 2.9, this might be a good time to do this. BP will likely be stable enough in its functions, setup that this could be warranted.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
RE: Allow for NOT in Atomic Hooks
Ya, I looked at the current function, and figured it wouldn't be feasible as it is currently written for just the reasons you stated. Thought maybe you had some notion on how to get the context in a different fashion.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
Re: WordPress 3.0 Menu Management
I don't tend to do anything too elaborate w/ my navigation - but perhaps there be a need for a hook wrapping the outside of the div you mentioned above? Or do you think that'll be something better handled with some of the other hooks?
You must be a logged-in exclusive member to view this reply.
RE: Buddypress Integration
I agree with your comments and look forward to the separate thread. I've been following Andy's responses to my questions - http://buddypress.org/forums/topic/buddypress-theme-with-wptheme#post-32424 and http://buddypress.org/forums/topic/buddypress-theme-with-wptheme#post-32593
Also, I "talked" to Ron and he said his Buddymatic version for Hybrid was based on 0.6.2 and that WP.org might not release it because it was so close to Hybrid. If I get a copy, I'll tear through it and see what he did. Sounds like he made new Hybrid Templates with the BP functionality he needed 'stolen' from the original BP templates. That would create the need for rewriting those templates when BP is "upgraded."
You must be a logged-in exclusive member to view this reply.
Reading about this Genesis feature definitely piqued my interest. I like your idea of having it be something optional. That way child theme authors that do want to add the feature are able to.
Can you maybe explain the difference between this and post templates down the road?
You must be a logged-in exclusive member to view this reply.
One extra context aware hook
not-home
Would make something like this possible: add_action ( 'hybrid_not-home_before_entry', 'my_byline');
For an example of a situation this would be useful see this post: http://themehybrid.com/support/topic/removing-categories-beneath-header-in-hybrid-news
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
"Handle all "comments are closed" scenarios the same" - Yes please. It's been bugging me that this is different with posts/pages but I haven't been able to figure out how to fix it easily.
With shortcodes, I've always put mine in functions.php - is this not the canonical way to do it?
All of this sounds very exciting, BTW. I'm not so fussed about the menus as I tend to use very simple menus and I've widgetized most of them anyway for ease of updating and so they don't automatically pick up new pages when I'm not expecting it. I may switch back to a native system if it's made easy to manage.
You must be a logged-in exclusive member to view this reply.
I still think we have a little SEO fruit to be picked here: http://themehybrid.com/community/topic/metadescription#post-2334
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must be a logged-in exclusive member to view this reply.
You must log in to post.