10sexyapples
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Accepted Payment Methods] CSS Load IssueExcellent! Thank you!
Forum: Plugins
In reply to: [Subordinate Post Type Helpers] Possible BugI should be able to just run a SQL statement to inject the Parent Post ID into all of them actually … wow … no, that won’t do … also realized how ridiculous my thought of automating this was just now … I will grab the metabox ??
Forum: Plugins
In reply to: [Subordinate Post Type Helpers] Possible BugThey aren’t connected at all right now, just posts in a custom post type … perhaps it is something that could happen on registering the subordinate post type now that I think about it. As in, when an existing custom post type with posts that already exist in the database becomes a subordinate post type, recursively set the parent post ID?
Further explanation:
Back in the old build of the site ( 2006 ) I had to create this with pages and subpages for every artist. So, artist page and then sub page for review, statement, bio. I have switched them all over to custom post types and that’s where they stand now.
Forum: Plugins
In reply to: [Subordinate Post Type Helpers] Possible BugSo far so good … I’m going to try to keep my questions in the appropriate places, so, I’ll ask this here …
I have a number of existing posts, as my custom post type already existed prior to implementing subordinates. Is there any way to automate the trigger for them to be recognized by the parent post without having to go through and recreate them all?
Question two here might seem silly, but, what is the best method for calling subordinate posts in templates, for instance in my case a sidebar list of the parent and the subordinate posts?
Thanks again for your work with this and I hope to give plenty of feedback ??
Forum: Fixing WordPress
In reply to: Issue with page navigation with query postsAwesome … the solution, but, bummer, can’t see it … is there no way to create links to the pastebin of the offending code if it gets moderated? As is, this is punishing those who need the answer, not those who broke forum rules … a shame.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] All existing connection gone?@matthewcolab
Thank you a million times over … I’m so tight on a launch deadline, and I upgraded only to lose the hundreds of connections my client made … *whew* … sooooooo happy you were thoughtful enough to post your solution … saved me much needed time and a very big headache ??Okay, so, here’s the only solution I was able to come up with so I could continue taking advantage of the wonderful stashness …
I added in a term_id to the $data array –
`$data = array_merge( $data, array(
‘url’ => QMT_URL::for_tax( $this->taxonomy, $tmp ),
‘name’ => $term->name,
‘termid’ => $term->term_id,
) );`and then just edited my list-item.html mustache template to include it –
<li id="{{termid}}" class="term-item {{#is-selected}}current-term{{/is-selected}}">
Then I added in a little plugin upgrade notification to remind myself not to overwrite my little hack …
Thanks for making this so easy Scribu!
I’m on the same topic here, so, would like to jump in if I may … I need to be able to insert an id to the list in order to use the cookie functions for jsTree ( finally getting around to this ) …
I have a list of associated custom taxonomy terms in my single template sidebar … I’m calling that in via a custom walker and have altered the start_el as such to include the ID …
$jstreeID = 'cat-item-' . $category->term_id;
I’m hoping to achieve the same thing with my drilldown lists, but, of course, being confronted with the same problem as Matt.
I realize that it isn’t possible to just change the file type as that’s not the mustache that you’ve loaded into QMT.
I’m not able to do anything before reaching the template to achieve this ( nothing I can think of anyway ) … so, I’m trying to determine the best way to go about making this happen.
I’m thinking that I need to make a new ‘stache variable for the ID and get that in there, but, definitely need some wisdom from you on this as I don’t want to get hacky~
Forum: Fixing WordPress
In reply to: how to add "rel=" to loop for easybox?<?php $thumbnail_id=get_the_post_thumbnail($post->ID); preg_match ('/src="(.*)" class/',$thumbnail_id,$link); echo $link[1]; ?> <a href="<?php echo $link[1]; ?>" rel="lightbox"><?php the_post_thumbnail('thumbnail'); ?></a>
Try this ….
Oh my goodness Piet … I was just feverishly surfing around the other day and happened upon here and saw the questions … the issue was something I had just dealt with so I thought I’d be helpful and quickly post … didn’t even realize I wasn’t on the general forums … my apologies
add_action( 'admin_bar_menu', 'remove_wp_logo_links', 25 ); function remove_wp_logo_links( $wp_admin_bar ) { $wp_admin_bar->remove_node('wp-logo'); }
This worked for me ??
Hi Raul,
I looked for alternative means to reach you, but, couldn’t find any, so, hope you get this here. I see that your submission took root and is now a filter, and I was curious if you might be so kind as so help clue me in as to how to apply the filter so that the nav menu meta box shows itself? I know they’re looking to get it automagic for 3.3, but, way too far in the future for me ??
Thanks in advance if you can~Marking this resolved as it is no longer relevant … code exists in core now to achieve the necessary result.
Thanks Scribu … I didn’t get a chance to test, but, it certainly sounds like it would function correctly with this. Marking resolved … sorry it took me so long.