charismabiz
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: WP 2.1 – get_bookmark() doesn’t work in theme codevertino: I’m getting that error as well. I propose that someone proposes it to trac that the function be moved somewhere where it’s freely accessible to both back and front.
jeremyboggs: the problem with this is that it’s a different name… thus code that should normally be calling wp_get_link_cats() is forced to be calling get_link_cats_front() instead. Not to mention that any changes to the core aren’t necessarily compatible with that “fix”.
Forum: Plugins
In reply to: Alphanumeric sorting on manage pages/postsIf not, is there any API hooks I could use to do this?
Forum: Plugins
In reply to: Page Excerpts in Pages?Nevermind, found soln
Forum: Plugins
In reply to: mySQL Efficiency?pizdin_dim, thanks for the info ??
Forum: Plugins
In reply to: mySQL Efficiency?whooami: won’t there by increased seek/search times if often-accessed data is included in the same table as less often accessed data tho?
ie: basic profiles would have to be scrolled and searched for (select in a loop), while extended profiles would only need to be accessed when viewing individual profiles (select 1)
Essentially trying to find the best balance between seek/search times in one table versus extra resources required for joins
Forum: Plugins
In reply to: Retrieve posts from multiple categoriesOh… ohhhh… wow, thanks buddy!
Is there any documentation to WP_Query? The ones I found (https://codex.www.ads-software.com/Function_Reference/WP_Query and https://codex.www.ads-software.com/User:DavidHouse/Wordpress_Code_Flow) doesn’t seem too helpful.
Specifically, does that display posts that match BOTH category 5 and 17, or is it “5 or 17”?
Also, how do I get the category ID that it is in, when in the loop?
Thanks again!
Forum: Plugins
In reply to: Retrieve posts from multiple categoriesMmmm, won’t that be very inefficient tho, since I can only pass 1 category ID to WP_Query?
eg: 6000 posts, 2000 that match one category, of which 400 match the second category. that would retrieve 2000 posts (can’t retrieve less because say you want 5 posts. you won’t know that the first Z will contain 5 that also match the second category condition), then have to go through it to get the X posts.
Forum: Plugins
In reply to: Retrieve posts from multiple categoriesYep… but I thought “The Loop” was the main post retrieval loop?
I’ve just rehecked the documentation at https://codex.www.ads-software.com/The_Loop
The section provided by MichaelH is very useful, with a simple modification it would work as needed. However, the main question is how do I use this “the loop” for a sidebar module? Since “The Loop” deals only with posts/pages that will show up on that current page instead of ALL posts.
Forum: Plugins
In reply to: Retrieve posts from multiple categoriesI’m not using it within the loop… making a custom list on the side.
Thanks for the help tho. I appreciate the effort ??
Forum: Plugins
In reply to: Page-specific widget settings?I just looked at SBM. It seems like an interesting thing, but it performs something completely different?
ie: SBM allows for multiple instances of a widget to be used, while I’m trying to have page-specific widget layouts for each page.Forum: Fixing WordPress
In reply to: Help, my blog is blank.. as in about:blank!If wordpress is using more than 8mb in a single action… for something other than one-time issues such as import/export/etc… mmmm.
Forum: Fixing WordPress
In reply to: Help, my blog is blank.. as in about:blank!8mb memory limit should be enough for most PHP scripts. Any more than that, and it’s likely a code issue.
Forum: Plugins
In reply to: Show Link IDs?Update:
It may be a filter hook (manage_link_columns) instead of an action hook. Investigating now.Any help/advice will be appreciated tho ??
Forum: Plugins
In reply to: Adding new field to write/editI just found a section on the post create/edit pages where you can add custom fields
May still need those hooks to make the section more informative (eg: specifying a required specific field).
Forum: Plugins
In reply to: Adding new field to write/editThanks for the first part, new table it is.
As for the second part, I’ll look into it. Are the editing hooks the same as for post creation, or are they just for editing?
And can you tell me (or link me to) more information regarding post_meta?