Custom post type with taxonomy filter without plugin in Wordpress PART 1

  Рет қаралды 26,607

CODING ACADEMY

CODING ACADEMY

3 жыл бұрын

👉-PART 2 - Load more button with AJAX: • Load more button with ...
In this lesson, i'm gonna teach you how to make a custom post type with taxonomy filter in Wordpress without plugin. We are going to filter our image gallery with the taxonomy terms (category). Everything will be manageable from the Wordpress dashboard. We used the isotope plugin to build this galery filter.
- Github link: github.com/emmannweb/custom-p...
Custom post type with taxonomy filter without plugin in Wordpress.
👉- Loading post content dynamically on click post title with WP REST API: • Load Dynamic Post Co...
👉- Custom post type and taxonomy with taxonomy image with ACF PLUGIN PRO :
• Custom post type and t...
👉 Membership: / @emmannweb
☕ Buy me a coffee: www.buymeacoffee.com/codingac...
CODING ACADEMY is a programming channel that aim to teach programming stuff in a simple way.
If you are looking for Wordpress tutorial, React, MongoDB, ect this is the right channel for you.
Don´t forget To Subscribe and Share with other Friends
Subscribe To Coding academy : / @emmannweb
You Can Follow on Facebook : / labowebfirm
CODING ACADEMY is an online media that was created to teach programming to any person around the world who feel the need to learn programming. We teach in a simple way and make it easy to understand.
Our community ( CODING ACADEMY) fans greatly appreciate this initiative,
#coding academy #Wordpress #coding

Пікірлер: 103
@pensarya
@pensarya 2 жыл бұрын
i WILL CRY 7 DAYS OF SEARCHING AND ALSO WATCHed YOUR SOME VIDEOS FINALLY I FOUND THIS. Thanks a lot
@emmannweb
@emmannweb 2 жыл бұрын
: ) thank you so much!
@sturanovicms
@sturanovicms 2 жыл бұрын
Thanks a bunch dude. I've been finding a solution for 7 days now and your video has everything I needed!
@emmannweb
@emmannweb 2 жыл бұрын
Great to hear that!
@matheusfelixflaviano7251
@matheusfelixflaviano7251 Жыл бұрын
Thank you so much for this video, that helps me a lot. I learned so much about taxonomies.
@emmannweb
@emmannweb Жыл бұрын
Awesome! You're welcome!
@TheUnOriginalsAdda
@TheUnOriginalsAdda Жыл бұрын
awesome explained line by line
@emmannweb
@emmannweb Жыл бұрын
Thanks and welcome
@ashapatel6216
@ashapatel6216 4 ай бұрын
It's really Great work..tnx a lot dude 😊
@emmannweb
@emmannweb 4 ай бұрын
You're welcome!
@bhaktimayjevan9808
@bhaktimayjevan9808 2 жыл бұрын
Thank you very much for this valuable tutorial. Sir keep it up like this tuts. I have never seen like this tuts in all google search. i am tried hole day searching.
@emmannweb
@emmannweb 2 жыл бұрын
thank you so much!
@yashkumar8888
@yashkumar8888 2 жыл бұрын
Thank you so much , it's great tutorial.
@emmannweb
@emmannweb 2 жыл бұрын
Thx a lot! i really appreciate
@RajeshKumar-uw9qi
@RajeshKumar-uw9qi 3 жыл бұрын
Congratulation sir you did well done.. No margin of error... every line of code easy to follow.....
@emmannweb
@emmannweb 3 жыл бұрын
I really appreciate the way you encourage me to bring more stuffs to share with the community
@emmannweb
@emmannweb 2 жыл бұрын
with load more button ajax: kzfaq.info/get/bejne/n9V3i5Rzuci6n3U.html
@jitendratailor360
@jitendratailor360 2 жыл бұрын
Thanks Sir all codes are working
@emmannweb
@emmannweb 2 жыл бұрын
it is a pleasure to serve you sir :)
@satyaraj1
@satyaraj1 2 жыл бұрын
Awesome 👍
@emmannweb
@emmannweb 2 жыл бұрын
Thank you so much!
@jyotirmoypiru8688
@jyotirmoypiru8688 Жыл бұрын
Very nice 👌 and thank you sir
@emmannweb
@emmannweb Жыл бұрын
Most welcome!
@Yourguru9
@Yourguru9 2 жыл бұрын
Thank you so much sir ☺️ Please make a video on custom mega menu in WordPress. Thank you 😊.
@emmannweb
@emmannweb 2 жыл бұрын
Thank you, i will
@pankajnsquareit2273
@pankajnsquareit2273 2 жыл бұрын
Thanks a lot for this tutorial. Can you please make a video of category filter with pagination and ajax. Thank you so much.
@emmannweb
@emmannweb 2 жыл бұрын
Thanks a lot, i really appreciate. I have another video with load more button and ajax in the description of this video.
@elisfelicio4831
@elisfelicio4831 2 жыл бұрын
Precisava disso também. 🙏🙏🙏
@emmannweb
@emmannweb 2 жыл бұрын
@@elisfelicio4831 fiquei feliz de ter ajudado.
@RajeshKumar-uw9qi
@RajeshKumar-uw9qi 3 жыл бұрын
Sir why you are not teaching on Udemy platform...I found every good course there and brought two wordpress course from there....but I learnt most of good stuff from your tutorials so it is my only suggestion you must teach there. sir lots of love from India...have a good day 👍
@emmannweb
@emmannweb 3 жыл бұрын
Thank you so much Rajesh, i'm thinking about that seriously. It is such a pleasure to know that my work is so appreciated from you. Much love for India!
@sogoods_official
@sogoods_official 10 ай бұрын
thanks for the helpful videos, may I ask how to custom styling this filter? like change the color, size, font, radius, etc. thank you so much.
@emmannweb
@emmannweb 10 ай бұрын
Thank you so much, well, go to style.css and edit style. you can inspect element on google chrome to see where the CSS or the style is located and change it. That's it!
@weblance7333
@weblance7333 2 жыл бұрын
okey
@leighedwards
@leighedwards Жыл бұрын
What editor are you using that shows all the possible options for classes and functions?
@emmannweb
@emmannweb Жыл бұрын
I'm using Atom editor, i really like to code Wordpress with it. Also i have some wordpress plugins extensions installed to facilitate my life.
@bl4204
@bl4204 2 жыл бұрын
Thanks for the tutorial! Is it possible to change the URL dynamically depending on the clicked filter? So that you can use for example url/page#category-01 to have a preselected selection.
@emmannweb
@emmannweb 2 жыл бұрын
Thank you so much for your comments. if i understand you want the taxonomy term to appear in the URL on click? If so this one could be tricky.
@bl4204
@bl4204 2 жыл бұрын
@@emmannweb Correct. So this is not going to be easy? Damn. Maybe I should look for a plugin then.
@emmannweb
@emmannweb 2 жыл бұрын
@@bl4204 for example if you want to go to single post, the URL will change dynamically. But like i said on the taxonomy filter itself, it could require some trick to change URL. On the other hand, what you do, try to add permalink on the taxonomy term, to check if you would have the correct link for the taxonomy, if you get it, you can prevent it from default behavior and get the category link dynamically without going anywhere.
@rakamahesa5672
@rakamahesa5672 Жыл бұрын
Thanks for the tutorial, how to show if i just want to show subcategory only ?, if like a logo , i have food logo, car logo, how to show their ?
@emmannweb
@emmannweb Жыл бұрын
try this lecture, it might help you: wordpress.stackexchange.com/questions/270176/showing-categories-and-subcategories-with-posts
@rakamahesa5672
@rakamahesa5672 Жыл бұрын
@@emmannweb Thanks so much!!
@emmannweb
@emmannweb Жыл бұрын
@@rakamahesa5672 You're welcome!
@dileepbatchala1590
@dileepbatchala1590 Жыл бұрын
Sir need to add all your js files and css files into my website to work exactly like in tutorial?
@emmannweb
@emmannweb Жыл бұрын
If you know a little bit of wordpress coding and follow our example, it should work properly. Many people already implement this solution without trouble.
@ni3gujar720
@ni3gujar720 2 жыл бұрын
how to display the custom post type content in the other div without/with having to refresh the page once you click the custom post type title
@cv.swadesh9238
@cv.swadesh9238 Жыл бұрын
now i am working this type project but when someone include extra category image then how to be showed in my page category list.
@emmannweb
@emmannweb Жыл бұрын
kzfaq.info/get/bejne/irB_ipRmldCcmGQ.html it has part 1 & 2. with ACF PRO
@raghu8898
@raghu8898 3 жыл бұрын
Here how to add pagination for this tutorial and if we add pagination filtering is working... Plz tell
@emmannweb
@emmannweb 3 жыл бұрын
I would recommend a "load more" button with Ajax where you can filter a category in one page, instead of pagination, but the pagination could work if you still have the taxonomy filter. For user experience, i would choose a load more button.
@airamaeemeterio463
@airamaeemeterio463 2 жыл бұрын
@@emmannweb sir please make a tutorial with load more button
@emmannweb
@emmannweb 2 жыл бұрын
@@airamaeemeterio463 I already made that tuto on load more button. Here is the link: kzfaq.info/get/bejne/n9V3i5Rzuci6n3U.html
@sunnydadi8496
@sunnydadi8496 2 жыл бұрын
Thank you for the great video, this is very helpful and working like a charm. Now to extend this to post tags as well, is that possible to extend this? I mean users can sort the posts by both taxonomy terms as well as post tags. thanks heaps
@santudadi
@santudadi 2 жыл бұрын
Is it possible to display tags as well to sort the posts?
@emmannweb
@emmannweb 2 жыл бұрын
Thx a lot, i really appreciate! I think it's possible, it's kinda the same process, display all the tags first after display your posts by tags and try to realize the filter.
@sunnydadi8496
@sunnydadi8496 2 жыл бұрын
@@emmannweb Thanks, I am trying to achieve this to have both taxonomy terms and tags available to filter at the same instance. That's where it's getting complicated for me. For example, it will will have filter by category and also filter by tags. Any help would be appreciated. thanks
@ibrahimakalilsacko1009
@ibrahimakalilsacko1009 2 жыл бұрын
hey thanks for the tutorial, it's awesome. say, to make it move around whenever you click a filter button, did you use css? if so, could you please share the file?
@ibrahimakalilsacko1009
@ibrahimakalilsacko1009 2 жыл бұрын
oh there's a github link, thanks
@emmannweb
@emmannweb 2 жыл бұрын
You're welcome!
@airamaeemeterio463
@airamaeemeterio463 2 жыл бұрын
Sir it is possible to put pagination on this? please make a tutorial.
@emmannweb
@emmannweb 2 жыл бұрын
With load more button(via AJAX), we already have the pagination, each time you click load more button, the number of post per page will be added asynchronously
@balancecreative
@balancecreative 2 жыл бұрын
What is the name of the plugin, WP doesn't list any plugins name 'Isotope'?
@emmannweb
@emmannweb 2 жыл бұрын
To better undestand, we didn't use a wordpress plugin, we used a third party plugin to achieve our filter, check the source code that we provided; but you can check also the official website if you want to know more about it in this link: isotope.metafizzy.co/
@poojashree4185
@poojashree4185 Жыл бұрын
it is showing invalid post type why???
@emmannweb
@emmannweb Жыл бұрын
You did something wrong probably, verify the name of your custom post type. Just try to download the code and compare yours.
@raghu8898
@raghu8898 3 жыл бұрын
And please tell when we come from main menu how to trigger exact category
@emmannweb
@emmannweb 3 жыл бұрын
If i understand clearly your question, you want to say how to show the categories (taxonomy terms) in the menu?
@raghu8898
@raghu8898 3 жыл бұрын
@@emmannweb actually iam creating categories in one menu then I clicked on category link moved down and trigger
@kavinduliyanaarachchi99
@kavinduliyanaarachchi99 Жыл бұрын
What happen if I don't want to show "ALL" only I need to show categories without ''ALL" in the page load. How do I do that?
@emmannweb
@emmannweb Жыл бұрын
isotope.metafizzy.co/filtering.html
@kavinduliyanaarachchi99
@kavinduliyanaarachchi99 Жыл бұрын
@@emmannweb Not like this.As a example I wanna see "logo,video,websites" buttons and in the page load logo button must be active and showing logo category photos.can we do that?
@raghu8898
@raghu8898 3 жыл бұрын
I follow as video but filtering is not working for me
@emmannweb
@emmannweb 3 жыл бұрын
it should work, there is plugin (isotope) that makes the filter manually, with Wordpress i made it dynamic.
@AyanAndroidAssassin
@AyanAndroidAssassin 3 жыл бұрын
Please do add ajax videos on wordpress
@emmannweb
@emmannweb 3 жыл бұрын
ok no problem, i will.
@emmannweb
@emmannweb 2 жыл бұрын
with load more button ajax: kzfaq.info/get/bejne/n9V3i5Rzuci6n3U.html
@doogie1385
@doogie1385 2 жыл бұрын
Please do search filter like yelp/tripadvisor site
@emmannweb
@emmannweb 2 жыл бұрын
i will
@raghu8898
@raghu8898 3 жыл бұрын
And same filter using drop down how can we do
@emmannweb
@emmannweb 3 жыл бұрын
Using downdown where? in the menu or ?
@raghu8898
@raghu8898 3 жыл бұрын
@@emmannweb in here only
@poojashree4185
@poojashree4185 Жыл бұрын
my posts are not changing by categories why?😓😓😓
@emmannweb
@emmannweb Жыл бұрын
Plz download the source code and compare to yours. I think you might missed a little detail to make it work.
@nusratjehan3242
@nusratjehan3242 2 жыл бұрын
Please make a short code of it. Please 🙏
@emmannweb
@emmannweb 2 жыл бұрын
this is the shortcode api: codex.wordpress.org/Shortcode_API
@nusratjehan3242
@nusratjehan3242 2 жыл бұрын
@@emmannweb Thanks working 👍
@emmannweb
@emmannweb 2 жыл бұрын
@@nusratjehan3242 great! to know that!
@priyankasurve7311
@priyankasurve7311 2 жыл бұрын
Layout overlapping issue
@emmannweb
@emmannweb 2 жыл бұрын
Did you download the project demo and use it the way it's was done?
@priyankasurve7311
@priyankasurve7311 2 жыл бұрын
@@emmannweb yes.. actually bcoz of image size ... Images loads late... N position: absolute coming in inline css
@emmannweb
@emmannweb 2 жыл бұрын
​ @Priyanka Surve okay, so you could try something like this: developer.wordpress.org/reference/functions/add_image_size/ add_image_size( 'custom-size', 220, 180, true ); after that install a plugin name "regenerate thumbnails" to regenerate your your images.
@pavasdave3163
@pavasdave3163 2 жыл бұрын
Particular category isn't opening on click
@emmannweb
@emmannweb 2 жыл бұрын
did you use our project demo and compare it?
@pavasdave3163
@pavasdave3163 2 жыл бұрын
Yess @CODING ACADEMY
@emmannweb
@emmannweb 2 жыл бұрын
​ @Pavas Dave okay. In the example i gave everything works, please check in your code and make a double check. If you saw certain category not working with the filter, make a right click to inspect the code to verify if all the categories are showing.
@rohitpanchal6244
@rohitpanchal6244 3 жыл бұрын
Please provide code
@emmannweb
@emmannweb 3 жыл бұрын
check in the description of this video plz..already there in "theme link"
@raghu8898
@raghu8898 3 жыл бұрын
Could u provide code sir plz
@emmannweb
@emmannweb 3 жыл бұрын
yes
@emmannweb
@emmannweb 3 жыл бұрын
The link was added in the description of this video.
@debbiehastings6254
@debbiehastings6254 8 ай бұрын
This does not work as shown - you forgot many steps - like loading the js, enqueueing, etc. Also does not work on an archive as you have to remove loop and add it the custom loop. This didn't help at all, sadly..
@mayazoghbi1193
@mayazoghbi1193 8 ай бұрын
Do you recommend any site you can share it ? I need to do a custom post with some fields and taxanomies and want something trusted will be thankful 🥰
Creating Custom Post Types With Advanced Custom Fields
28:46
David McCan
Рет қаралды 40 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 55 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
How to Create Custom Post Type in Wordpress Without a Plugin Within Couple of Minutes?
14:22
WP Simple Hacks - Wordpress tips and tricks
Рет қаралды 7 М.
All New Elementor Category & Tag Filters (Taxonomy Filters)
11:19
Jeffrey @ Lytbox
Рет қаралды 46 М.
WordPress Custom Fields for Custom Post Type
42:12
Vicode Media
Рет қаралды 14 М.
Wordpress Hooks (Actions & Filters) Explained
22:43
HowToDev
Рет қаралды 4,5 М.
How to Build Dynamic (PHP) Blocks in WordPress
30:57
Brian Coords - WordPress Dev
Рет қаралды 8 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 55 МЛН