Jeffrey John Loomis
Forum Replies Created
-
Forum: Plugins
In reply to: [Force Strong Passwords] Not PHP 8.1 compatible – critical error with php 8.1AWESOME! Thank you so much! This is a great plugin, but yeah, it started throwing errors for me around March 10th. Gonna give this a try.
Forum: Developing with WordPress
In reply to: Subscribers not showing up in author drop-downThank you. I appreciate the response. Unfortunately, changing
10
to10000
didn’t solve the problem. (I’m running into it in both the regular post editor and in while using Quick Edit.)Forum: Fixing WordPress
In reply to: Home lands on About. Can't go to Home except in Edit mode.Cool deal. Glad to hear it’s solved.
Forum: Fixing WordPress
In reply to: Home lands on About. Can't go to Home except in Edit mode.Double-check your your menu (Appearance > Menus.) I’m thinking some of the menu items may be pointing to things they don’t need to point to.
Forum: Plugins
In reply to: [Hide Featured Image] Hiding Featured Image with jQuery instead of CSSCool. Thanks for making this plugin.
Thanks, Jeremy. I appreciate the prompt responses.
Hi Jeremy. Thanks for the response. I was just about to try contacting you. Haha.
Yes, I’m hoping to bring in their custom taxonomies. And in fact, I was able to do so (by adding the code in my last post to my functions.php file.)
You may not like hearing this, but I was also able to hack the Jetpack Portfolio portfolios.php file to query the Project CPT and Posts by removing these lines (lines 487 and 488):
$args = wp_parse_args( $atts, $default );
$args[‘post_type’] = self::CUSTOM_POST_TYPE; // Force this post type(I also tried ‘post’ in there instead of self::CUSTOM_POST_TYPE–technically, either works for what I’m trying to do.)
This all worked fine–I was able to add Posts to Portfolio custom taxonomies and they were recognized by the [portfolio] shortcode. But I think I may have discovered a (possibly unrelated) bug.
To make sure this possible bug didn’t appear because of all of the crazy stuff I was doing, I put everything in portfolios.php and functions.php back to normal.
Basically, the Jetpack share buttons repeat underneath each Jetpack Portfolio item after adding the [portfolio] shortcode to a Page or Post. All of the share buttons are actually share buttons for the single Page or Post that they appear on (so they’re not even share buttons for the individual Portfolio items.) Kinda weird. I’d like the share buttons to appear as a single instance at the bottom of the Page or Post the way they normally do.
(I know this is taking this original thread off topic (but maybe it’s related to the stuff I did to the stuff I did to the site…))
Anyway, here’s a screenshot of what’s happening (again, this is happening even though I put portfolios.php and and my functions.php back to normal):
(That’s the local version of the site.)
Alright, so, after adding this:
function reg_cat() {
register_taxonomy_for_object_type(‘jetpack-portfolio-type’,’post’);
}
add_action(‘init’, ‘reg_cat’);to my funcitons.php file, I’m able to add Jetpack Portfolio Project Types when creating a Post (as in “a regular blog post.”)
I’m able to add a Project Type to a Post, but I think what I really need is for that Post to essentially be a Jetpack Portfolio Project (or at least to be recognized as one by Jetpack.)
The thing is, I don’t want to actually add Posts as Portfolio items (I don’t want /portfolio/ in the URL and I like the fact that these news stories are all actually Posts (with Categories.))
I’m basically just trying to harness the awesomeness of the Jetpack Portfolio but instead of doing everything it does with Projects, I’d like to do everything it does with Posts.
Forum: Plugins
In reply to: [Co-Authors Plus] Guest Authors and Author BoxesWow, very cool. And thanks for the quick response.
Someone’s already asked me about Google+ and Twitter fields in the guest author’s profile area too–haha.
Forum: Plugins
In reply to: [Co-Authors Plus] Guest Authors and Author BoxesI’m doing the same thing and running into the same issue (while using Genesis theme with Co-Authors Plus and Genesis for Co-Authors plugin.) Wondering if you could be so kind as to post what you added to your functions.php to make it work?