jonboldendesign
Forum Replies Created
-
Worked perfectly. Thank you so much!
Great! Thanks for letting me know!
Figured it out! Under WordPress settings > Reading, I changed “Blog pages show at most” to a larger number.
I have also tried changing the theme and using “shownum”, neither of those work for me
I’m also having this problem. I have 13 products but only 10 are showing. I’m using [category alias=”photographs”]
This the page with the category shortcode:
https://playingforothers.org/merch/photographsThanks for responding.
I would love to see that as a feature. In fact, I’ll try to figure out how to do it myself and then I’ll share the results if it’s an appropriate method for your framework. Thanks for the plugin, it’s mostly working excellently for me
Forum: Fixing WordPress
In reply to: Password Protection for Custom Post TypesThank you for that tip! I thought I had tried everything but. upon further experimentation, I’ve concluded that it’s an issue with running MAMP on a local install. I moved the exact same database, wordpress install, and theme onto my hosting company and it worked fine. That’s a mystery to me… but THANKS CHRIS!
Forum: Hacks
In reply to: Create term upon Page CreationThanks! I actually think I figured it out. I left out some of the details as to not confuse you. I’m actually using only with a custom post type called “home-blog-project”
Here’s what I came up with
// Creates a new category automatically for new Home Build posts function create_home_build_category_on_new_page($post_id) { $post = get_post($post_id); if ($post->post_type == 'home-blog-project') { wp_insert_term( $post->post_name, // the term 'home_blog_category', // the taxonomy array( 'description'=> 'Home Build category for '.$post->post_name, 'slug' => $post->slug ) ); } } add_action('edit_post', 'create_home_build_category_on_new_page');
So when you add a new page with custom post type “Home Blog Project” it creates a category automatically with the same slug as the page so my page template will filter the loop with that category. I created the new post type using a plugin called “More Types”.
The only thing that seems weird to me is that the action tag is “edit_post” but it works when you add a post. I assume the only complication will arise if I ever change the slugname for the page, it will create a new category instead of renaming the existing one. One step at a time!
Forum: Hacks
In reply to: Create term upon Page CreationThanks, Bcworkz
Would I just add this to the functions.php of my theme? I’m new to hooks but I think I can figure this out.
Forum: Plugins
In reply to: [Better RSS Widget] [Plugin: Better RSS Widget] Editing the Output StyleWhat do want to do exactly? You can edit the CSS of your template style.css file to style the output of the list. Are you familiar with CSS or HTML at all? It will be somewhat difficult to explain if you are not.
Forum: Plugins
In reply to: [Event Calendar] Show Only Certain CategoriesAwesome! Thanks so much, Eran. I always hate to change a plugin if I don’t have to.
Trust me, I understand the complexity of recurring events. I used to work for a software company that had to figure out that problem and it took FOREVER. Cloning would be awesome.
Forum: Plugins
In reply to: [Event Calendar] Show Only Certain CategoriesExcellent!
It still doesn’t include any option to choose a category to default to, but that’s a pretty obscure feature and my solution works fine for now.
Thanks so much for your hard work, Eran. I can’t wait for reoccurring events. Your plugin with the best out there with that addition!
Forum: Plugins
In reply to: [Event Calendar] Show Only Certain CategoriesActually I figured it out. It’s not the best way to do it, but it will work perfectly for my scenario. I used a javascript switch command in jquery.init_show_calendar.js in the plugin’s JS folder.
Simple remove this line:
filter($jq('#aec-filter .all')); // filter: activate all'
And add your switch based on the page URLS.
In my case I wanted the calendar on https://www.yoursite.com/page1 to default to category 1 (.cat1), https://www.yoursite.com/page2 to default to category 2 (.cat2), and all others to default to the “all” option (.all).
var url = window.location.pathname.split("/")[1]; // finds the page name you are on based on the word after the first backlash in the url switch(url){ case "page1": filter($jq('#aec-filter .cat1')); // filter: default to page 1 events break; case "page2": filter($jq('#aec-filter .cat2')); // filter: default to page 2 events break; default: filter($jq('#aec-filter .all')); // filter: default show all events }
Like I said… not ideal since it’s using page URLs to determine the cast, but it does work.
Be sure to repalce “page1” and “page2” with the URL names of your pages. You’ll also need to change .cat1 & .cat2 to the proper category ID.
Forum: Plugins
In reply to: [Event Calendar] As usual, ….Also – If this plugin does not suit your needs, please choose another.
Forum: Plugins
In reply to: [Event Calendar] As usual, ….Would you like me to write some instructions for you so you can use the plugin?