• Hello
    I’m Mahdi
    I am very thankful for the nice plugin you have developed
    I had an opinion about the improvement of the plugin, I wanted to present it in the comments section, but I noticed that you don’t check there often, so here we suggest it.

    A simple thing you can do is to show the user two posts in each offer, for example as follows:

    or:

    Or even more, for example 3, but not too many!
    For example, maybe a site manager wants to show the number of a box to the user, but in the same box, like these two images, he shows the user two results. Please add this feature faster ??
    Of course, I know a little bit about php and js, but I am completely fluent in css and html, so if this can be done with some manual work in the plugin codes, I will be happy, please tell me.

    Thank you again for helping me (I am a Persian speaker and this text was translated by Google ?? )

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mmzkh

    (@mmzkh)

    Well, hello again
    I was involved in this plugin for several hours and finally because I wanted to make small changes in it, I reached the following file:
    assets > templates > styles.html
    I noticed that you control the display and appearance of this plugin in the front
    Now, since I want to have two titles, I reached the following by looking at the codes a bit:
    {postTitle} that placed in span
    Now I want to create something like the image below

    As you can see, I want to have two of these, so I copied one of them, but the problem is that the displayed text and the linked post are the same, which I don’t want!
    I want two different posts
    If you could just tell me how to create two or three different titles when there are two or three boxes on a post page, I would be very grateful ??
    Or if you could help me add some small lines of php I will be indebted to you for this help
    thank you

    Thread Starter mmzkh

    (@mmzkh)

    Hi again
    I changed the code of the style .html page like this, so it will be very good, so please see how I edited this page before the guide:

    #Template Minimalist
    #Defaults {ctaTextColor=, postTitleColor=BLACK Dark, boxColor=WHITE Dark, borderColor=BLUE #2 Light, borderColorLabel=border}
    <a href="{postHref}" target="{linkTarget}" {linkRel} id="ir-post-vesal">
        {comment}
        <style>
            #ir-post-vesal {
                display: inline-block;
                /* width: 60%; */
                width: 100%;
                margin: 20px auto;
                padding: 10px 0 20px 20px;
    
                background-color: #ffffff;
                border: 1px solid #EDEDED;
                border-radius: 12px;
                text-decoration: none !important;
            }
            /* start before title */
            #ir-post-vesal #ctaText-vesal {
                position: relative;
    
                display: inline-block;
                height: 30px;
                padding-right: 20px;
                margin-bottom: 10px;
            }
            /* before */
            #ir-post-vesal #ctaText-vesal::before {
                content: "";
                position: absolute;
                top: 10%;
                bottom: 10%;
                right: 0;
    
                display: block;
                width: 4px;
                height: 80%;
                background-color: #C2A501;
                border-radius: 5px 0 0 5px;
            }
            #ir-post-vesal #ctaText-vesal p {
                color: #000000;
                font-size: 15px;
                font-family: "peyda";
                font-weight: 700;
                line-height: 30px;
            }
            /* end before title */
    
            #ir-post-box-vesal #ir-post-link-vesal {
                margin-right: 40px;
            }
    
            /* start title */
            #ir-post-vesal #postTitle-vesal {
                display: block;
                width: auto;
                height: auto;
                margin-top: 10px;
            }
            /* before */
            #ir-post-vesal #postTitle-vesal p {
                position: relative;
    
                display: block;
                height: 30px;
                margin: 0;
                font-family: "kalameh";
                /* font-family: "kalamehweb"; */
                font-size: 14px;
                line-height: 30px;
                color: #606060;
                padding-right: 30px;
                margin-top: 5px;
                overflow-x: hidden;
            }
            #ir-post-vesal #postTitle-vesal p:nth-child(1) {
                margin-top: 0;
            }
            #ir-post-vesal #postTitle-vesal p::before {
                content: "";
                position: absolute;
                top: 35%;
                bottom: 35%;
                right: 4px;
    
                display: block;
                height: 30%; /* 530% = 9px */
                width: 9px;
                background-color: #D9D9D9;
                border-radius: 50%;
                filter: blur(2px);
            }
            /* end title */
        </style>
        <div id="ir-post-box-vesal">
            <span id="ctaText-vesal">
                <p>{ctaText}</p>
            </span>
            <div id="ir-post-link-vesal">
                <span id="postTitle-vesal">
                    <p>{postTitle}</p>
                    <p>{postTitle}</p>
                </span>
            </div>
        </div>
    </a>
    
    

    This is all the codes on the page I told you I have and I deleted everything else because I didn’t need them!

    Actually this is where you should guide me:

                <span id="postTitle-vesal">
                    <p>{postTitle}</p>
                    <p>{postTitle}</p>
                </span>

    That is, exactly where there are two P tags, I want the content and the link of the indo tag to be different and to show two separate posts, of course, the structure you mentioned has a general A tag from which these boxes take the entire link. If you can guide me on how to link the two channels, I will remove the A tag and replace it with a DIV to solve the problem that the entire tank has a link ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I have a good suggestion to make the plugin better!’ is closed to new replies.