Wordpress Divi Blog module - no option to control number of posts - wordpress

According to this page here: https://www.elegantthemes.com/documentation/divi/blog/
I should have the option within the divi blog module settings to control the number of posts displayed i.e.
Posts Number: 6
Now, on the site in question, the number of posts IS set to 6 (because we have more than 6 posts in this category, but only 6 are displaying) BUT the option to change this number is not presented when editing the blog module.
Does anyone know why? and more importantly where/how I can override the limit to change the number of posts displayed?
Thanks!

I've just checked it, on my sites it's possible. Blog / content options / post number. And with 'post offset number' you can change the offset :-)
When it doesn't work (DIVI is full of bugs with Elegant Themes will not fix), have you tried to add another Blog-Module on your site and test it there? I had several times the error that i can't do something in a module, but when I add the same module again then it's possible.

Related

How to change wp-admin/edit.php categories filter to a multiselect?

I'm using GoDaddy hosting, with WordPress Managed plan, so I can't edit anything in wp-admin/ or wp-includes/ folder, the only folder I've permission is wp-content/.
I tried to look it on google, and tried to find the plugins, I found this plugin Post Filter Multiselect but it doesn't working anymore, my WordPress version is 4.9.5 and the plugin were not updated since 9 month ago. So I tried another plugins but neither of them are working.
If I want to add this with themes or plugins how to do it? because I can't found the answer, thank you.
What I want is to make the wp-admin/edit.php categories filter be a multiselect, because in 1 post, there are so many categories, so to narrow it down, it need multiple categories. and there are a lot of categories, around 50 categories.
Have you tried other plugins like search & filter ? I haven't used it myself but it seems to be what you are looking for. Also, have you tried contacting the support to see if they could grant you access to the folder?
OK, so this is slightly a sledgehammer-to-crack-nut approach, but you could install the Advanced Custom Fields plugin and create a Taxonomy field. You can select an Appearance of Multiple Values > Multi Select and make sure that Create Terms, Save Terms and Load Terms are all true so that your categories are synced properly with the post. Finally, in the field group settings you can select the checkbox to hide the normal categories meta box.
It's one that's worked for me in the past without requiring extra plugins (since I already use ACF).

WordPress Recent Post should be 5 with continue reading link

I set my front page as recent posts. But It display all the posts at front page.
I need to display only 5 recent posts at first page.
I like to have that "Continue reading" after 10 lines of the each post content.
Q1 - Controlling Amount Of Posts Displayed
Dashboard -> Settings -> Reading -> Blog pages show at most -> change to 5 -> Save Changes -> test
If that didn't work you may be using a custom theme which controls posts per page with a function. Check functions.php for something like if ( $query->is_front_page() and in that if statement may be something similar to $query->set( 'posts_per_page', '10' ); You will want to change 10 to 5.
Q2 - Controlling Post Excerpt Length
The easiest way if one has no experience working with wordpress template files is to add the <!--more--> tag in your post editor and wordpress will cut the post at exactly that spot. Here's some info about using it.
You will see on the above linked page the option to customize it with a function. It requires messing around with the template files a little. Leave a comment if you want to know more about that and I can try to help you with a better explanation.

Remove product-category from url woocommerce

Problem 1:
I'm using WooCommerce on a WordPress and it adds product-category to the URLs.
domain.com/product-category/accessories/dishwashing
I need to remove 'product-category' from the URLs. Is there any way to modify the permalinks and remove them?
Problem 2:
Also, I want to change the permalink for the product.
Current url for product "Active AirClean (SF-AA 50) with TimeStrip" is: http://www.atimiele.co.uk/products/filters/active-airclean-sf-aa-50-with-timestrip/
I have a category structure for the product is:
accessories > floorcare > filters
So the url for the product shoud be
http://www.atimiele.co.uk/accessories/floorcare/filters/active-airclean-sf-aa-30-with-timestrip/
I believe that what you are trying to achieve is not possible with Woocommerce. My colleague tried to change this as well a couple of months ago without any success. If you do want to remove the slug from products+categories you can use a plugin. There are several plugins available, i don't know if I im allowed to post it here, but we used the Perfect seo url plugin for woocommerce. www.perfectseourl.com Although it costs a lot of money, it was a good choice.
Typically it will solve both of your questions. I would recommend not using too many 'subcategories' in your url structure. Try to use maximum 2 subcategories, for SEO reasons. Google will index only 3 levels.
Good luck!

Wordpress: how to limit post-nav to specific category?

I'm setting up my first Wordpress site. I have limited knowledge and understanding of its inner working. (Bear that in mind, please)
I setup 3 different pages that show posts based on their categories.
Though, once your reading one post, from either pages, the Next Post/Previous Post navigation still cycle thru all the posts regardless of their categorie.
I would like to limit this navigation to posts within the category of the page the reader is reading from.
Is that at all feasable and if so, can you help me out understanding how to do it?
Or if there is a plugin that does that?
Thanks
That's covered in the WP docs. Set in_same_cat to true.
https://developer.wordpress.org/reference/functions/next_post_link/
If the links are already in your theme, you'll need to edit them.

Limit number of posts in WP Carrington JAM framework

While using the Wordpress Carrington JAM framework, the number of posts being shown in my Search Results, Archives, and Category pages does not follow the value I typed in Settings > Reading.
In my Settings, I typed the number 2 in the field "Blog pages show at most" but whenever I view those 3 pages it shows all results instead of only 2.
For some reason the setting is not included in the theme options page for Carrington JAM. But I found it anyway in the file themes/carrington-core/ajax-load.php in the function cfct_posts_per_archive_page_setting().
Default was 25 which is why so many results were being displayed. I changed it to something lower.

Resources