How OAuth Authentication Works
10:28
Пікірлер
@Carol-r7k
@Carol-r7k 10 сағат бұрын
2316 Thiel Hollow
@AhmedParvez-bs4cu
@AhmedParvez-bs4cu 2 күн бұрын
I am geeting issue when use the shortcode in the posts, how to fix it? or do you have any video on it?Please
@hmjahir77
@hmjahir77 8 күн бұрын
you lr voice was recorded later and the speed sucks. shitty tutorial. if u ca not make a proper video, jut Don't make it.
@brothersonnaiki5938
@brothersonnaiki5938 10 күн бұрын
The clearest video explanation on this subject. Thank you mister
@terrycarson
@terrycarson 13 күн бұрын
The best info....thanks
@kavinduliyanaarachchi99
@kavinduliyanaarachchi99 25 күн бұрын
Can anybody help me with this error "TypeError: Cannot read properties of undefined (reading 'nodes')"
@timhowe7825
@timhowe7825 Ай бұрын
Extremely helpful thank you!
@MusiMD-u5u
@MusiMD-u5u Ай бұрын
Hi bro.. how to fetch logo from wordpress
@mao13132
@mao13132 Ай бұрын
Спасибо дружище!
@muratasarslan2359
@muratasarslan2359 2 ай бұрын
still no Typescript ? 😥
@StefanoBallad
@StefanoBallad 2 ай бұрын
Great lesson also on Tailwind! Thank you!
@zeeeeeman
@zeeeeeman 3 ай бұрын
Well done. Aws is a maze and you've explained this really well.
@roko98332r
@roko98332r 3 ай бұрын
could you deploy these next js into vercel. pointing hostinger domains while having wp-backend on hostinger
@Comondor-Tika
@Comondor-Tika 3 ай бұрын
Thank you very much. Your tutorial is very helpfull. I am waiting new lessons.
@rezaastaraky8376
@rezaastaraky8376 4 ай бұрын
Excellent thanks
@akhtarhossain8025
@akhtarhossain8025 4 ай бұрын
I have been searching for days for a tutorial like this. Thank you so much. Very precise and useful for someone with basic curl knowledge. Thanks.
@danieladam4719
@danieladam4719 4 ай бұрын
Thank you, works perfect!:)
@codecobber1107
@codecobber1107 4 ай бұрын
Great video, many thanks
@developerap6033
@developerap6033 4 ай бұрын
Very good explanation easy and short. All major part covered Thank you!
@borsos_ilo
@borsos_ilo 4 ай бұрын
Thank you! You showed a really nice way of how to apply styling to post content, previously I was trying to parse the HTML returned by WPGraphQL but this way is so much neater!
@websitesbysagar
@websitesbysagar 4 ай бұрын
Hi, first of all thank you for this coding tutorial. I am building my own blog and I am planning to add google ads in it. can I use SSG or I have to use SSR to show ads?
@goodnewsjohn2482
@goodnewsjohn2482 5 ай бұрын
if i pass this test i am coming back with my testimony... nice tutorials. I watched more than two times. Thanks
@mahmoudibrahim9803
@mahmoudibrahim9803 5 ай бұрын
Thank you, great content
@OwlthTech
@OwlthTech 5 ай бұрын
In this WP seems hosted on different server with subdomain, so why there doesn't have any CORS error?
@CodingReflections
@CodingReflections 5 ай бұрын
From what I have learnt, CORS is a mechanism implemented on browsers to prevent web pages from making requests to another domain. But in this case, the next.js frontend (browser) is making requests to the next.js server itself (same domain), which in turn make requests to the WP backend (subdomain). So the browser is not directly making any requests to the wp subdomain, hence no errors. CORS is not applicable for server-to-server communication.
@user-jn5sr3ed4s
@user-jn5sr3ed4s 5 ай бұрын
How did you manage to solve the CORS policy error when using localhost?
@CleverGeneration
@CleverGeneration Ай бұрын
I had the same issue.. To solve it, simply go into the s3 bucket -> permissions -> scroll down to CORS section -> press edit -> paste the following: [ { "AllowedHeaders": [ "*" ], "AllowedMethods": [ "GET", "POST", "PUT", "DELETE", "HEAD" ], "AllowedOrigins": [ "localhost:3000" ], "ExposeHeaders": [] } ]
@xen.7140
@xen.7140 5 ай бұрын
Try downloading your Github repo, it doesn't work. Fetch failed every time. Also, the "catetory" typo is in the repo as well (fixing it doesn't solve the fetching issue)
@CodingReflections
@CodingReflections 5 ай бұрын
Have you changed the fetch url to your wordpress installation url under lib/graphqlRequest.js? Otherwise fetch will fail because it is pointing to my wp url. If not, you can find the wp backup files in the repo, which you can use to install a copy of the wordpress site on your localhost or remote server. As you said, the typo - "getCatetory" - has nothing to do with the fetching issue since it is only the query name, which can be anything. Anyway, I have fixed it, thanks for pointing that out.
@xen.7140
@xen.7140 5 ай бұрын
@@CodingReflections I tried running it with your URL and then changed it to mine, still fails. The error is always fetch related. The default Nextjs ISR WP blog template works and fetches properly, but doesn't have category archives that I'm trying to add EDIT: Works now! This is the error I was getting: Server Error Error: A required parameter (slug) was not provided as a string received undefined in getStaticPaths for /category/[slug] This error happened while generating the page. Any console logs will be displayed in the terminal window. This is what Github Copilot came up with and it fixed it: "In your getStaticPaths function, you're mapping over categories and for each category, you're returning an object with params that contains categoryName: category.slug. However, the error message suggests that the function is expecting a slug parameter, not a categoryName In this updated code, I've changed categoryName: category.slug to slug: category.slug to match the expected slug parameter." return { paths: categories.map((category) => ( { params: { slug: category.slug } } )), fallback: false, }
@regilearn2138
@regilearn2138 5 ай бұрын
can u use lambda function for this. for next video
@phoolchandprajapat-l5l
@phoolchandprajapat-l5l 5 ай бұрын
Need to add headless plugin just add this code in functions.php add_action('template_redirect', 'redirect_to_login_if_not_logged_in'); function redirect_to_login_if_not_logged_in() { if (!is_user_logged_in() && !is_admin()) { auth_redirect(); } }
@milkboxshow1416
@milkboxshow1416 5 ай бұрын
is there a way to use useFormState with the pages router version of next.js? Or an appropriate modification that would allow file uploads using the pages router?
@preetbajwa2629
@preetbajwa2629 5 ай бұрын
can we use custom post type in headless cms
@mrchedda
@mrchedda 5 ай бұрын
Hey. Thanks for the video! Question... can you fetch non HTML value for content or excerpt with authentication? Also.. can you add the wp-config.php constants by SSH-ing to the WP staging instance or does it have to be a custom hosted WP instance? Thanks!
@adeolaabdulramon9251
@adeolaabdulramon9251 6 ай бұрын
Thanks for this content. But could you please do a crash course beginners friendly on Next.JS 14 for frontend and WordPress for backend thank you.
@ivaylopetrov9956
@ivaylopetrov9956 6 ай бұрын
Great work man 🚀
@johnnwabuforudemezue1108
@johnnwabuforudemezue1108 5 ай бұрын
Where you able to complete yours??
@ivaylopetrov9956
@ivaylopetrov9956 6 ай бұрын
Great playlist! Thank you so much 🙏
@tree2828
@tree2828 6 ай бұрын
This might have been a great example but it seems to need some updates and has not been tested (produces several errors on testing).
@ssojyeti2
@ssojyeti2 6 ай бұрын
great explanation. Thank you
@leonardolopes9360
@leonardolopes9360 6 ай бұрын
👏🏻👏🏻👏🏻👏🏻👏🏻
@BeyeDev
@BeyeDev 6 ай бұрын
ALL YOUR VIDEO IS ABSOLUTELY BEST... THANK YOU SIR
@johnnwabuforudemezue1108
@johnnwabuforudemezue1108 6 ай бұрын
Thanks so much for this great series. But I'm stuck in this episode. I get a server error (500) after clicking the Load More Posts button. I don't know why. Other fetch requests are handled well. But this one has stopped me for 2 days. I've tried everything and it never gets resolved. How can I reach you??
@johnnwabuforudemezue1108
@johnnwabuforudemezue1108 6 ай бұрын
Hello nicely designed can we have a link to the repository of this article
@Zoone-hn2zq
@Zoone-hn2zq 6 ай бұрын
thanks a lot for the lovely content, your explanation is wonderful, i have watched your WP series and it is remarkable and so helpful, but i am wondering if you will do a tutorial about multilang with headless WP and next 14 using polylang and graphQL? if you did it will be an excellent addition to that wonderful playlist!
@Slaat1
@Slaat1 7 ай бұрын
isn't the roundtrip that you're doing, client -> server -> s3, instead of client -> s3 directly kind of an overhead?
@Slaat1
@Slaat1 7 ай бұрын
I mean in your case it does make sense because you don't want to expose any of the keys but it would require less network if you were to create a presigned url from the server, send it to the client and let the client upload the file directly. what do you think?
@CodingReflections
@CodingReflections 7 ай бұрын
I did it this way to keep the aws credentials safe on the server. Instead if it was on the client, won't it get exposed to the client, even if it is a predesigned url?
@impc-lx9gf
@impc-lx9gf 7 ай бұрын
@@CodingReflections nah, thats the whole concept of presigned url. i think you should refer it, the current method which you are describing is just wasting double bandwidth.
@milkboxshow1416
@milkboxshow1416 5 ай бұрын
@@impc-lx9gf what's the practical difference? you need to hit the server either way to either get the credentials or a pre-signed url.
@impc-lx9gf
@impc-lx9gf 5 ай бұрын
@@milkboxshow1416 there is big difference between uploading file to server then s3 and just hiting server for s3, any way you must be not in production so that's why you will not get it either way. Thanks 😊
@AlanDanielx
@AlanDanielx 7 ай бұрын
Very well explained. Congrats for a great video
@CKNMEDIA
@CKNMEDIA 7 ай бұрын
Great video. Thank you ❤
@wilonweb
@wilonweb 7 ай бұрын
Do you continous this playsit ( to ad ACF or WooCommerce ) ?
@nofeah89
@nofeah89 6 ай бұрын
that would be amazing nextjs + woo commerce
@wilonweb
@wilonweb 8 ай бұрын
do you going to continuous the tutorial about this stack ( for ACF pro implementation ) ?
@wilonweb
@wilonweb 8 ай бұрын
if we follow this tuto we can implement it easily on the wphadless + nextJS tutorial than you maked ?
@Maxime66410
@Maxime66410 8 ай бұрын
Thanks you so much it work ! But how i can get the email ? is null..
@mastervikram2030
@mastervikram2030 8 ай бұрын
content starts from 8:30 thank me later
@Foused87
@Foused87 8 ай бұрын
What about seo fullhead?