Alessio Lo Vecchio
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Use ‘full’ size for thumbnails in product pageResolved simply with unhook the default gallery and replace it with my own built in the functions.php
- This reply was modified 6 years, 9 months ago by Alessio Lo Vecchio.
Forum: Hacks
In reply to: Remove articles from search resultThanks bcworkz for the right answers I didn’t get notifications for this thread. exaju do you have a lot of posts to exclude? Because if it’s not there is a very basic way to do this with the
post__not_in
parameter.For example you can find all the posts with the name of the person with strpos performed on
the_content
of all posts and when you get all the IDs you have the array to use, it’s just a one time operation.You will use that array in your default search page, without hacking anything. I know it’s not very smart and elegant, but could probably work…
Forum: Hacks
In reply to: Remove articles from search resultNever edit core files.
Search results page is managed by WP or you have a custom one?“based on a name of a person”
is that name in the author field or in the title of the post?
Forum: Hacks
In reply to: display children category by ID on pageWhy not use get_terms?
$args = [ 'child_of' => 4 ]; $children = get_terms( 'category', $args );
Where you need to stamp the properties you could use:
echo $children->name;
orecho $children->slug;
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Put subscribers automatically in a groupThe hidden field is a smart idea, I hadn’t thought about that.
Thank you
Forum: Plugins
In reply to: WP_Query comment_countShame on me!
'orderby'
not'order_by'
!!!Forum: Requests and Feedback
In reply to: Meta capabilities for Taxonomies as Postsresolved!
Forum: Requests and Feedback
In reply to: Meta capabilities for Taxonomies as PostsYou’re absolutely right! In fact in the last two days I choose to create a list of checkboxes populated by a WP_Query so I can easily have the custom field equal to the slug of custom post type ??
Forum: Hacks
In reply to: Permalink in wordpressUser login? Don’t you need BuddyPress for this?
Forum: Fixing WordPress
In reply to: Change of domain nameThis is a good guide, you have to update old url in the db with SQL ??
https://www.mydigitallife.info/how-to-move-wordpress-blog-to-new-domain-or-location/I hope these will be helpful
Forum: Fixing WordPress
In reply to: Custom Taxonomy Archive Template Doesn't Think I Have PostsOk can you post also the loop?
Forum: Fixing WordPress
In reply to: Custom Taxonomy Archive Template Doesn't Think I Have PostsCan you post the complete code?
Forum: Fixing WordPress
In reply to: Images Not Showing in Past PostsOk in your old posts content the path of the images is the same (directories year/month)? Because if you had uploaded images one year ago and you re-upload them now the path changes.
Hope I’m explaining well (with my poor english) ??
Forum: Fixing WordPress
In reply to: How to Add a small preview image if I have a webarchive or HTML CodeI cannot see your code, I cannot open your website ??
Forum: Fixing WordPress
In reply to: Need help! Problem with my wordpress site!Try to deactivate all the plugins and restore the default theme… and see what’s happened