Timber is a WordPress plugin to develop themes using the Twig template language
Questions tagged [timber]
518 questions
-1
votes
1 answer
Issue with Timber custom page template for Home page in WordPress
I created page-home-page.twig in my view folder of Timber template. However,
1- If the page home-page set as default wordpress home-page, The template file will not work.
2- If the page home-page set as normal page content, then now the template…

Tariq Ahmed
- 305
- 3
- 14
-1
votes
2 answers
Upgrading WordPress Timber Plugin from 1.7.0 to 1.9.4
Do you think upgrading will break functionality or adversely change the look and feel of the website? Is there any way to revert to the previous version of this plugin after upgrade if things go wrong?
Have been asked to manage a WordPress site…

Native New Yorker
- 521
- 1
- 4
- 7
-1
votes
1 answer
Problem with unset in "Post" array using timber
I'm creating a Wordpress blog application using timber and twig.
The problem is that i want to select all post except for one
This is what I have now:
$context = Timber::get_context();
$context['post'] = new Timber\Post(); //the one we don't…

timo stevens
- 372
- 1
- 3
- 15
-1
votes
1 answer
Return just titles and permalinks with Timber?
I would like to just return a list of the last 10 posts that only includes the title and permalink.
What is the best way to accomplish this in Timber?

bigmike7801
- 3,908
- 9
- 49
- 77
-1
votes
2 answers
Wordpress alternative URL to archive page
I have a custom post type named myalbums, so the url to archive page is http://mysite/gallery (I added 'rewrite' => ['slug' => 'gallery'] on it's creation).
So, I want to have an alternative URL like http://mysite/gallery/special to see the same…

Sebas Fernandez
- 29
- 4
-1
votes
1 answer
Woocommerce Recent Product Images Shortcode
I'm trying to display the featured image from the product using:
{% filter shortcodes %}
[recent_products per_page="12" columns="4"]
{% endfilter %}
Would I need to create a custom query to reference the images to be brought back?
If so could…

Jake Henshall
- 21
- 1
- 5
-2
votes
1 answer
Use
I have the following code in a .twig WordPress template:
-2
votes
2 answers
Wordpress SEO plugin (Yoast and SEO Framework) create a conflict with Timber plugin
I'm using the Timber plugin with Underscores.me template (https://github.com/timber/starter-theme) to create a website.
I used the Yoast and SEO Framework plugin and both create an issue!
When I add a description in the meta of a page, Timber…

filnug
- 191
- 1
- 2
- 13