How to add also read option in WordPress generatepress theme without plugins?

इस लेख में हम यह जानेंगे कि कैसे आप वर्डप्रेस वेबसाइट में, खासकर GeneratePress थीम का उपयोग करते हुए, बिना किसी प्लगइन्स के “Also Read” ऑप्शन जोड़ सकते हैं। यह प्रक्रिया सरल है और इसे आसानी से लागू किया जा सकता है। How to add also read option in WordPress generatepress theme without plugins?

How to add also read option in WordPress generatepress theme without plugins?

अगर आप के भी ब्लॉग में also read का आप्शन दिखाना चाहते है तो आप भी बिना किसी plugins को इनस्टॉल किये दिखा सकते है और add also read option in WordPress आसानी से ऐड कर कर सकते है आप को निचे html कोड दी गई है उसे अपनी पोस्ट में ऐड करनी है और प्रोसेस आप को निचे बता दी गई है |

How to add also read option in WordPress generatepress theme without plugins?
How to add also read option in WordPress generatepress theme without plugins?

GeneratePress थीम में “Also Read” ऑप्शन दिखाने के लिए GenerateBlocks प्लगइन का उपयोग

GeneratePress थीम में “Also Read” ऑप्शन जोड़ने के लिए GenerateBlocks प्लगइन का उपयोग करना एक आसान और प्रभावी तरीका है। आइए, इसके लिए आवश्यक स्टेप्स को विस्तार से जानें।

स्टेप 1: GenerateBlocks प्लगइन इंस्टॉल और एक्टिवेट करें

  1. वर्डप्रेस डैशबोर्ड में लॉग इन करें
  2. Plugins > Add New पर जाएं।
  3. GenerateBlocks खोजें।
  4. Install Now बटन पर क्लिक करें और फिर Activate करें।

स्टेप 2: “Also Read” सेक्शन के लिए HTML कोड तैयार करें

<!-- wp:generateblocks/container {"uniqueId":"be917b24","isDynamic":true,"blockVersion":4,"spacing":{"marginTop":"15px","marginBottom":"15px"}} -->
<!-- wp:generateblocks/container {"uniqueId":"45496d38","backgroundColor":"#fffdf8","isDynamic":true,"blockVersion":4,"useGlobalMaxWidth":true,"spacing":{"marginRight":"auto","marginLeft":"auto"},"borders":{"borderTopWidth":"1px","borderRightWidth":"1px","borderBottomWidth":"1px","borderLeftWidth":"1px","borderTopStyle":"dashed","borderRightStyle":"dashed","borderBottomStyle":"dashed","borderLeftStyle":"dashed","borderTopLeftRadius":"5px","borderTopRightRadius":"5px","borderBottomLeftRadius":"5px","borderBottomRightRadius":"5px","borderRightLeftRadius":"5px","borderLeftLeftRadius":"5px","borderRightRightRadius":"5px","borderLeftRightRadius":"5px","borderTopColor":"#2e2e2e","borderRightColor":"#2e2e2e","borderBottomColor":"#2e2e2e","borderLeftColor":"#2e2e2e"}} -->
<!-- wp:generateblocks/container {"uniqueId":"0c0bf246","isDynamic":true,"blockVersion":4,"spacing":{"paddingTop":"","marginTop":"-14px"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"5ee2fb7a","element":"div","blockVersion":3,"display":"inline-flex","alignItems":"center","typography":{"fontSize":"15px","fontWeight":"600"},"spacing":{"paddingLeft":"5px","marginLeft":"15px","marginRight":"15px","marginTop":"","paddingRight":"5px","paddingTop":"","paddingBottom":""},"backgroundColor":"var(\u002d\u002dbackground)","textColor":"var(\u002d\u002dcolor-background)"} -->
<div class="gb-headline gb-headline-5ee2fb7a gb-headline-text">Also Read</div>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/query-loop {"uniqueId":"9748f2fd","query":{"post_type":"post","per_page":"1","include":[]}} -->
<!-- wp:generateblocks/grid {"uniqueId":"7b4fb641","columns":1,"isDynamic":true,"blockVersion":3,"isQueryLoop":true,"lock":{"remove":true}} -->
<!-- wp:generateblocks/container {"uniqueId":"b955aa58","isGrid":true,"isQueryLoopItem":true,"gridId":"7b4fb641","isDynamic":true,"blockVersion":4,"sizing":{"width":"100%"},"spacing":{"paddingTop":"10px","paddingLeft":"10px","paddingRight":"10px","paddingBottom":"10px"},"borders":{"borderTopWidth":"","borderRightWidth":"","borderBottomWidth":"","borderLeftWidth":"","borderTopStyle":"","borderRightStyle":"","borderBottomStyle":"","borderLeftStyle":""},"lock":{"remove":true,"move":true}} -->
<!-- wp:generateblocks/grid {"uniqueId":"fd32b3df","columns":2,"horizontalGap":10,"isDynamic":true,"blockVersion":3} -->
<!-- wp:generateblocks/container {"uniqueId":"3e1ebb5a","isGrid":true,"gridId":"fd32b3df","isDynamic":true,"blockVersion":4,"sizing":{"width":"15%","widthMobile":"30%"}} -->
<!-- wp:generateblocks/image {"uniqueId":"a7802b7d","sizeSlug":"full","blockVersion":2,"borders":{"borderTopLeftRadius":"3px","borderTopRightRadius":"3px","borderBottomLeftRadius":"3px","borderBottomRightRadius":"3px"},"useDynamicData":true,"dynamicContentType":"featured-image","dynamicLinkType":"single-post"} /-->
<!-- /wp:generateblocks/container -->

<!-- wp:generateblocks/container {"uniqueId":"78eaef2a","isGrid":true,"gridId":"fd32b3df","isDynamic":true,"blockVersion":4,"sizing":{"width":"85%","widthMobile":"70%"}} -->
<!-- wp:generateblocks/headline {"uniqueId":"b3516d2f","element":"h3","blockVersion":3,"typography":{"fontSize":"18px","fontSizeMobile":"14px"},"spacing":{"marginBottom":"5px"},"textColor":"var(\u002d\u002dtext-2)","linkColor":"var(\u002d\u002dtext-2)","linkColorHover":"var(\u002d\u002dcolor-background-hover)","useDynamicData":true,"dynamicContentType":"post-title","dynamicLinkType":"single-post"} -->
<h3 class="gb-headline gb-headline-b3516d2f gb-headline-text"></h3>
<!-- /wp:generateblocks/headline -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/grid -->
<!-- /wp:generateblocks/query-loop -->
<!-- /wp:generateblocks/container -->
<!-- /wp:generateblocks/container -->

स्टेप 3: पोस्ट में “Also Read” सेक्शन जोड़ें

  1. Posts सेक्शन में जाएं और उस पोस्ट को एडिट करें जहां आप “Also Read” ऑप्शन जोड़ना चाहते हैं।
  2. GenerateBlocks का उपयोग करके Container Block जोड़ें।
  3. कंटेनर ब्लॉक के अंदर, HTML Block जोड़ें।
  4. ऊपर दिए गए HTML कोड को HTML Block में पेस्ट करें।

How to Customize “Also Read” Option in GeneratePress Theme Using GenerateBlocks

Step 3: Customize the “Also Read” Section

  1. Click on the Query Loop block.
  2. In the block toolbar, click Block Settings.
  3. Click Add Parameter.
  4. Select Include Post from the dropdown menu.
  5. Choose the specific posts you want to include in the “Also Read” section.

how to change also read button post

  1. Go to your Post: Open the WordPress editor for the post you want to customize.
  2. Go to Post > Query Loop: Add a Query Loop block where you want the “Also Read” section to appear.
    • Add a new block: Click the + button.
    • Search for “Query Loop”: Select it from the block options.
  3. Go to Block > Add Parameter > Select Include Post: Customize the Query Loop to include specific posts.
    • Block Settings: With the Query Loop block selected, open the block settings panel.
    • Add Parameter: Click to add a new parameter to the query loop.
    • Include Post: Select this option to specify which posts to include.
  4. Select Posts: Choose the posts you want to display in the “Also Read” section.
    • Post Selector: Use the post selector to find and include posts.
    • Customization: You can customize the appearance and layout using the block settings.

Hi, I'm Ashok kumar, a full-time content creator with 2+ years of experience. I currently manage content for JobSarkar.in, focusing on Sarkari Jobs, Results, Exam Patterns, Government Schemes, and Career News.

Sharing Is Caring:

2 thoughts on “How to add also read option in WordPress generatepress theme without plugins?”

Leave a Comment