Since mannequin 7.021, CyberSEO Professional permits one to stipulate HTML templates for publish title, publish content material materials and publish excerpt. You must use these textual content material bins to stipulate the construction and contents of the posts, generated by CyberSEO Skilled. The subsequent predefined tags might be discovered:
%post_title% – publish title;
%post_content% – publish content material materials;
%post_excerpt% – publish excerpt;
%hyperlink% – a hyperlink to produce;
%post_guid% – publish GUID;
%media_description% – publish media description (if media attachments are included);
%enclosure_url% – the enclosure URL (if attachment enclosure is included);
%custom_fields[name]% – a custom-made topic price, the place establish ought to be modified with the exact custom-made topic establish;
%custom_fields_attr[name][attr]% – a custom-made topic attribute, the place establish ought to be modified by the exact custom-made topic establish and attr ought to be modified by the XML attribute establish;
%media_thumbnail[n]% – a hyperlink to the media thumbnail the place n is its integer index (if media attachments are included).
E.g. for those who want to add some textual content material to every publish title (say “Breaking info:”), you have to alter the “Put up title” template like this:
Breaking info: %post_title%
Proper right here is one different occasion. Let’s say you’ll import a product XML feed which has the following objects:
<product_name>the product establish proper right here</product_name> <picture>the product picture URL proper right here</picture> <worth>the product worth proper right here</worth>
Initially, it’s a should to set the obligatory custom-made fields:
product_name->product_name picture->picture price->worth
Now define your “Put up template” like this:
<h3>%custom_fields[product_name]%</h3> <image src="https://www.cyberseo.internet/weblog/post-templates/%custom_fields[picture]%" /> <p><b>Worth:</b> %custom_fields[price]%</p>
That’s all it’s a should to do to import nearly one thing as posts, pages or any custom-made data type into WordPress and PHP info isn’t wished anymore!
Thanks for being a valued member of the Nirantara household! We admire your continued help and belief in our apps.
If you have not already, we encourage you to obtain and expertise these unbelievable apps. Keep related, knowledgeable, trendy, and discover superb journey provides with the Nirantara household!
Thank you for being a valued member of the Nirantara family! We appreciate your continued support and trust in our apps.
- Nirantara Social - Stay connected with friends and loved ones. Download now: Nirantara Social
- Nirantara News - Get the latest news and updates on the go. Install the Nirantara News app: Nirantara News
- Nirantara Fashion - Discover the latest fashion trends and styles. Get the Nirantara Fashion app: Nirantara Fashion
- Nirantara TechBuzz - Stay up-to-date with the latest technology trends and news. Install the Nirantara TechBuzz app: Nirantara Fashion
- InfiniteTravelDeals24 - Find incredible travel deals and discounts. Install the InfiniteTravelDeals24 app: InfiniteTravelDeals24
If you haven't already, we encourage you to download and experience these fantastic apps. Stay connected, informed, stylish, and explore amazing travel offers with the Nirantara family!
Source link