We're merging with GenerateBlocks! Learn more here.

[Resolved] Target featured image

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Target featured image

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6502
    Allan
    Participant

    Hi Tom
    I solved my custom field query, thank you, but I have a problem with positioning the Sold sign on properties. The field value with the sold information is brought across just fine and I assume the php is working. The intention is to allow the client to add and remove Open House and Sold labels on any of the properties in the grid.

    But as you’ll see from the example https://dev.allanjackson.net/ the label is positioned midway between the two posts when it should be on the left-hand one. I can’t seem to identify the correct selector.

    The CSS that applies to the label is added with Simple CSS on the page:

    .wp-show-posts-image.wpsp-image-center {
       position: relative;
       text-align: center;
       font-family: Arial, Helvetica, sans-serif;
       font-size: 18px;
         }
    
    .centered {
       color: white;
        border-width: 0px;
       padding: 0px 10px;  
       background-color: red;
       position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);  
    }

    The PRO version of WPSP is great BTW. Might I just suggest the addition of Instagram sharing, a sharing label and an easier way to add custom fields.

    #6503
    Allan
    Participant

    P.S. How would I display items in the New Category and then in a different list all others excluding new. Thanks very much.

    #6514
    Tom
    Keymaster

    Hi there,

    Try adding this CSS:

    .wp-show-posts-inner {
        position: relative;
    }

    Not too sure what you mean by your second question. Can you explain a bit more?

    #6554
    Allan
    Participant

    Hi Tom
    What I mean was how to display posts from one just category in a list and, in a different list, how to exclude one category. Thanks very much.

    #6597
    Tom
    Keymaster

    When you’re creating the first list, only choose that one category under the “Terms” area.

    Then in the next list, choose all of the categories except for the one you chose earlier 🙂

    #6636
    Allan
    Participant

    Hi Tom
    Thanks for this. The problem seems to be that the plugin isn’t picking up the categories in the taxonomy I created. As you can in the following it knows that there is a taxonomy but it doesn’t display the terms.
    https://dev.allanjackson.net/wp-content/uploads/2018/11/tom1.jpg

    The terms are there as you can see from the form for editing the listings
    https://dev.allanjackson.net/wp-content/uploads/2018/11/tom2.jpg

    In addition to your stuff, I’ve only got Code snippets and Pods running
    https://dev.allanjackson.net/wp-content/uploads/2018/11/tom3.jpg

    #6672
    Tom
    Keymaster

    Are there any published posts attributed to those terms? I don’t believe they’ll show up in the WPSP settings if there’s nothing in them.

    #6679
    Allan
    Participant

    Aha!!! Thanks very much, that’s just right. Never would have thought of it myself.

    #6688
    Tom
    Keymaster

    Glad I could help! 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.