Add topic shortcode in Post Sections List

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

Tagged: 

This topic has 17 replies, 3 voices, and was last updated 1 year, 4 months ago by johnboy.

Viewing 16 reply threads
  • Author
    Posts
    • #8041


      johnboy
      Participant
      Post count: 13

      Hi, I am using a Topic based rule, so at “Auto Generate Post Title Based On Topics” section I add the keywords for which I want to create the keywords. See Screenshot 1.

      Let’s say I add “buy a toothbrush”, “buy a toothpaste”, “buy a hand soap”, etc. Then the plugin will create a title for each post based on all those keywords, for example “Do you want to buy a toothbrush? These are the best of the best.”

      That’s fine. But is it possible to use those keywords when creating the Post Sections?

      For example, I want to create the following Post Sections List:

      1. Where to “keyword”
      2. The best choices if you want to “keyword”
      3. Read this before you “keyword”

      So the plugin would create the following section headers for the first post:

      1. Where to buy a toothbrush
      2. The best choices if you want to buy a toothbrush
      3. Read this before you buy a toothbrush

      Then, for the second post:

      1. Where to buy a toothpaste
      2. The best choices if you want to buy a toothpaste
      3. Read this before you buy a toothpaste

      I hope I explained myself.

      However, if tried to use %%topic%%, %%title%% or %%post_title%% shortcodes in the Post Section List, and none of them work. Instead of adding the keyword, the just show the shortcode. See Screenshot 2.

      What I am doing wrong? What is the shortcode that I must add in the Post Section List so it adds the “keyword”?

      Thanks in advance

       

      Attachments:
      You must be logged in to view attached files.
    • #8044


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      First of all, thank you for your purchase.

      If I understand this correctly, you need to use the %%topic%% shortcode in the ‘Article Sections Prompt’ settings field. This will be replaced with the current keyword which is used to generate post titles.

      Please check on this, let me know if it worked (although you mentioned in the initial description of this ticket that it is not working, I check on my part and for me it worked well, so please check on this again).

      Regards, Szabi – CodeRevolution.

    • #8045


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8046


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8047


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8048


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Oh, right. Sorry for misunderstanding this question.

      I add the ability to use the %%topic%% shortcode in the ‘Post Sections List’ settings field (as this was not possible before).

      I make this change and include it in the next update for the plugin. The update should be released today or tomorrow.

      Let me know if it helped, once it will be released.

      Regards.

    • #8049


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8080


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8090


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      Great idea, the %%topic%% shortcode will be able to be used in the “Prompt For The AI Image Generator” settings field in the next update of the plugin.

      Regards.

    • #8093


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8143


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8146


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      Thank you for letting me know of this issue.

      I fixed the textual issue, also added a new option in the ‘Heading Image Location’ settings field: ‘Under the heading text’.

      This will make the image be added directly under the heading (this was not possible until now, as the ‘Bottom of the heading content’ added it under the text of the section also). I rename the options and add the ‘Under the heading text’ option.

      This will be available starting with the next update, will release it tomorrow (I hope).

      Regards, Szabi – CodeRevolution.

    • #8172


      pascamax
      Participant
      Post count: 2

      Hello,

      How to proceed if we need a $variable that will only be part of the title (not using topic for title generation in order to control the title)

      For example with $var = toothbrush,toothpaste etc.

      Title : Everything you need to know about $var

      So the plugin would create the following section headers for the first post:

      Title : Everything you need to know about toothbrush
      Sections :

      1. Where to buy a toothbrush
      2. The best choices if you want a toothbrush
      3. Read this before you sell a toothbrush

      Title : Everything you need to know about toothpaste
      Sections :

      1. Where to buy a toothpaste
      2. The best choices if you want a toothpaste
      3. Read this before you sell a toothpaste

      If no solution :

      It would be awesome to have an option to use the topic as a variable without driving the title génération that will stay the same as the “articles list”. Or maybe a separator to the article list.

      Thanks for your help.

      Pascal

      • #8178


        Szabi – CodeRevolution
        Keymaster
        Post count: 4620

        For this, you can use Spintax in the ‘Post Title List’ settings field. Example Spintax:

        Everything you need to know about {toothbrush|toothpaste}

    • #8176


      johnboy
      Participant
      Post count: 13

      This will make the image be added directly under the heading (this was not possible until now, as the ‘Bottom of the heading content’ added it under the text of the section also). I rename the options and add the ‘Under the heading text’ option.

      Nice! Looking forward to it Szabi!

    • #8232


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
    • #8233


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620

      Hello,

      The first image is an image related to the intro of the article (not to headings) and it is placed at the moment always at the end of the intro text.

      I noted this, will think on a way to remove/move the intro text image.

      Regards.

    • #8234


      johnboy
      Participant
      Post count: 13
      This reply has been marked as private.
Viewing 16 reply threads

The topic ‘Add topic shortcode in Post Sections List’ is closed to new replies.