ryelle / anadama-react Goto Github PK
View Code? Open in Web Editor NEWA react-based recipe theme for WordPress
A react-based recipe theme for WordPress
I was getting a 404 from /wp-json/wp/v2/terms/category/?page=1&hide_empty=true&per_page=10
before I made any file changes.
Updating this line https://github.com/ryelle/Anadama-React/blob/master/js/utils/api.js#L46 from let url = AnadamaSettings.URL.root + '/terms/category/';
to let url = AnadamaSettings.URL.root + '/categories/';
resolved it for me. Could totally just be something on my end - I am running core trunk and WP REST API v 2.0-beta9.
Disclaimer: A lot of this is new to me (React, WP REST API).
Hi, I have cloned your repository locally and have followed the steps as outlined. All went well.
Now i would like to know, how and in what structure shall we add the built files to wordpress and at what location in my wordpress install?
I am trying to use react for a wordpress website and i am not sure how to use react with wordpress. Would really appreciate any help with this.
Thanks
Does the app.js really have to be this enormous? Trying to enable webpack.optimize.UglifyJsPlugin() but I can't get it to work. Any tips?
Hi Kelly,
thank you for this theme. Its simply and great for customizing. I have one question. How to update the links in head menu? I installed WP-API Menus plugin but when i tried to update menu links in Administration, there are NO changes in website.
"REQUEST_NAV_SUCCESS" still returns old links.
Please can you give me advice?
Thanks a lot, Stefan
After setting up I wasn't seeing any posts on the homepage. Turns out it was because my local WordPress instance was in a sub directory of the domain (ie: localhost/mysite/). The back button also wants to go back to / as well instead of the site root /mysite/.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.