timber
wp-graphql
Our great sponsors
timber | wp-graphql | |
---|---|---|
10 | 53 | |
5,423 | 3,593 | |
0.7% | 0.5% | |
9.2 | 9.6 | |
2 days ago | 1 day ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
timber
-
Modern Plugin Boilerplate - GIT + PHP8 + Composer
Use Timber for templating https://github.com/timber/timber
-
Custom sites vs WordPress sites?
I’ve used timber and then built of their example theme. I can share a skeleton example of my base theme that incorporates vue and vite if you’re interested!
-
Laravel Developer Making Word Press Site
Finally, since Wordpress by default doesn't have a templating language you might be annoyed by mixing HTML/PHP for templates at first. I could recommend Timber to add Twig template support to your theme. It's helped me out a great deal in cleaning up messy intermixed presentation files.
-
WordPress with external template engine
Timber or Sage as you prefer !
-
The company I work for is migrating to Wordpress and I don’t know what to expect
ACF let you make all your custom fields and assign them literally anywhere. Timber brings Twig to Wordpress so you can have your views in twig files and your logic on php files and have a neat, modular, tidy, mantainable theme without having to deal with those mixed php/html nightmares you usually see.
-
I want to code in Wordpress using HTML and CSS
Your best bet are starter themes using the Twig templating language which is similar to the templating languages you may already know.
-
Clean blank wordpress theme for pure HTML/CSS/Bootstrap website?
Timber : https://timber.github.io/docs/
wp-graphql
-
Why Everyone Hates WordPress
Are you dead set on building a Nuxt + Vue application? Partial to NextJS like I am? Well good news everyone, WordPress has done a pretty decent job over the past couple of years building out the WordPress API and enabling developers to leverage WordPress as a Headless CMS. Pair that with the amazing WPGraphQL Pluginand you’re cooking with JavaScript. You get all the benefits of really solid backend CMS that end users are familiar with, and can grasp with a 1 hour CMS training, distributed using your favorite flavor of JavaScript.
-
redirect headless wordpress frontend without affecting API
I am using Headless Wordpress with https://www.wpgraphql.com/ for API hosted on SiteGround and Nextjs for frontend.
-
Why is does modern HTML/CSS seem so complex and convoluted? (details in comment)
- WPGraphQL
-
I made my own WordPress Plugin!
Look at other popular plugins to see what they do, and how that's different from what you did. For example browse a bit through https://github.com/wp-graphql/wp-graphql
-
Show HN: New GraphQL API for WordPress (1.5 years of development, 16000 commits)
How does this compare to WPGraphQL https://www.wpgraphql.com that's been around for quite some time (https://github.com/wp-graphql/wp-graphql)
Did you find shortcomings with that plugin?
- Fullstack but new to WP - Searching for answers
-
blog migrating from WP
if you want to save yourself the headache of migrating all your content from WP you can keep WP and install something like this to get GraphQL data from your WP server. Then use Next.js with React Query or Apollo and rebuild your blog frontend only.
-
The company I work for is migrating to Wordpress and I don’t know what to expect
For a CMS-oriented solution (tbf, WP dashboard is pretty nice and familiar to many - plus rich plugin ecosystem, wide SEO and marketing support), try to push for Advanced Custom Fields as it is widely supported. For example, it can integrate with WPGraphQL (which could help unlock some modern frontend options).
WPGraphQL is pretty decent if you need an API for the content. WP's built-in "ajax" API has its purpose too, but I wouldn't use it as the main content API when the GraphQL option is readily available.
-
Inherited A PHP Mess
I've run into a similar issue where the company wanted to bring on their Wordpress blog content on one site into their main site. NextJS combined with WPGraphQL did the trick. If you are going the static site generation route the main drawback is having to rebuild and deploy every time a new blog post is made. Could host it on AWS Amplify but I use Netlify and Cloudflare Pages. Take a look through their pricing models and pick whatever feels comfortable for you (still assuming a static site generated setup). In my opinion, NextJS is good enough. If it gets the job done in a reasonable amount of time, pick it. You mention having experience with Vue so maybe Nuxt is a better option?
What are some alternatives?
faustjs - Faust.js™ - The Headless WordPress Framework
elementor - The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
wp-graphql-woocommerce - Add WooCommerce support and functionality to your WPGraphQL server
wordpress-popular-posts - WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
objectbox-dart - Flutter database for super-fast Dart object persistence
wp-graphql-jwt-authentication - Authentication for WPGraphQL using JWT (JSON Web Tokens)
tailpress - TailPress is a minimal boilerplate theme for WordPress using Tailwind CSS.
_s - Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
understrap - Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
web-stories-wp - Web Stories for WordPress
sage - WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
wordpress-seo - Yoast SEO for WordPress