Post offer section is main option for Deal sites on Rehub theme. There are few ways to use this section.
From 11 version of theme we added Gutenberg blocks, there are many blocks which can be helpful for affiliate sites. You can add single offerbox via Gutenberg blocks or add many blocks on page. There are also Offer listing modules. Check demo or find video how it works
How to save offer data to Post offer section
When you added Offerbox from Gutenberg inside post, you can also save it’s fields to Post meta fields via next button (described in video also).
Well, it’s not required to do this, but this will add few more functions. First of all, this will fill all Post offer data
Starting from WordPress 5.4 version, Post Edit section is full width by default, so, all panels are hidden. You can simply enable them in top right corner.
Now, you can access to panels. Open Post Offer section
Fields of Post Offer section
In post offer section you can see price, brand logo, coupons, image, date of ending of coupons, discount tag, also, coupons can have reveal function.
The most important part is Offer url. Without this url, offer section will not work as expected.
Next important fields are Price fields. There are Old and Sale Price fields. This allows you to add offer with discounts. All price fields support simple text. This means that you can add not only price, but also any other text, like “Free price”, “Download for free”, etc, but don’t add too long text, 5-10 symbols are recommended maximum
Thumbnail field can be used to add here external url image. Then, you can install our special Fallback image extension and this thumbnail link can be used as your featured image (if you have no any in post). This allows to save space on site.
Coupon fields in Post offer section allow to add coupon to post, this will convert simple deal to Coupon deal. Check more about coupon functions of theme
There is also a special Field Discount Tag in the Post offer section. This field replaces featured image with a price tag, like this
This can be very helpful, because sometimes, product feeds don’t have featured image, so, you can place any text there instead image and it will look great without image.
Where to use Post offer data
Once you add Post offer fields, they can be used on site. There are two basic things which you can use with these data. First of all, you can enable one of Deal Post layouts (Compact, Button in corner, Big post offer block in top, Offer and review score) to place this Offer data in top of post.
Also, you can set special deal layouts for your category pages in theme option – general – category layout. This post offer data will enable additional snippet with price and button on category pages
Before you add prices, choose your correct price pattern in Theme options Localization .
Also, deal grid layout can be customized. You can choose what to show in deal grid layout in theme option – loop customization – Post Loop
Content Egg plugin
Post offer and Gutenberg blocks are not single available method to add Offer modules in posts. You can use also bundled Content Egg plugin. But this way is good if you need something like Price comparison from several merchants