Add dynamic text to template or widget

This topic contains 6 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #448654

    Kevin Holdridge
    Full Member
    Post count: 45

    I want to add a text block to the listings page – intro blurb along the lines of “We have <NUMBER OF MATCHED ENTRIES> businesses in <LOCATION NAME>.”

    What is the best way to pull in those two variables?

    Happy to add the block either into the template or through a widget, just don’t know how to get those data items.

    #448668

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    can you say a bit more about that? I think I get the location name part. What is the number? The post type count? Category?

    Where do you want to display it? Detail page? Every page?

    #448675

    Kevin Holdridge
    Full Member
    Post count: 45
    This reply has been marked as private.
    #448677

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #448679

    Kevin Holdridge
    Full Member
    Post count: 45
    This reply has been marked as private.
    #448680

    Kevin Holdridge
    Full Member
    Post count: 45
    This reply has been marked as private.
    #448729

    Alex Rollin
    Moderator
    Post count: 27815

    OK,

    I appreciate your spelling out the details of it.

    I discussed this with the developers and this is a customization for V1 as it cannot be fixed up with a small bit of code.

    If you want to proceed with it on your own then you can take a look at the Category Top description, that seems the most likely place for a replacement tag like this to be applied, alongside %location%.

    Category Top description already allows individual content to be stored for each category+location.

    You can find hand on help here: https://geodirectoryexperts.com/

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket