Help

This topic contains 7 replies, has 3 voices, and was last updated by  David Rodríguez 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #472418

    David Rodríguez
    Free User
    Post count: 45

    Hello, through a third party add-on, I have created a slide with your CPT. I was able to rescue the code of the categories of GD-Place (attached image) so that they appeared in the elements of the slide, but not with the location of the CPT, as they appear in the file page (attached image).

    I also attach the code with which I rescue the categories for the html in the slide, and below the one I am creating for the location … I think what I need is the name of the column of a table…

    Can you help me?

    <div class=”geodir_post_meta geodir-field-post_category”><span class=”geodir_post_meta_icon geodir-i-taxonomy” style=””><i class=”fab fa-phabricator” aria-hidden=”true”></i><span class=”geodir_post_meta_title”>Categoría: </span></span> {categories|taxonomy:gd_placecategory} </div>

    <div align=”center”><span class=”geodir_post_meta_icon geodir-i-address” style=””><i class=”fas fa-map-marker-alt” aria-hidden=”true”></i><span class=”geodir_post_meta_title”>Localización: </span></span><br> <span itemprop=”addressLocality”>{categories|taxonomy:addressRegion}</span><br> <span itemprop=”addressRegion”>Ciudad</span></div>

    #472419

    David Rodríguez
    Free User
    Post count: 45

    I forgot to attach the images

    #472434

    Kor
    Moderator
    Post count: 16516

    Hi David,

    Thanks for your post. As you know, we do not provide support for 3rd party plugins. However, could you elaborate a little bit more about what you’re trying to achieve there? Perhaps you can share the URL of the page in questions and share some screenshots about what you’re trying to do here.

    Thanks!

    #472542

    David Rodríguez
    Free User
    Post count: 45

    Yeah sure. On this page you will see that there is a slide with your post type of GD_place. With this slide we have managed to rescue the categories of your posts, through this code that is inserted as HTML

    https://catatur.com

    <div class = ”geodir_post_meta geodir-field-post_category”> <span class = ”geodir_post_meta_icon geodir-i-taxonomy” style = ””> <i class = ”fab fa-phabricator” aria-hidden = ”true”> </ i> <span class = “geodir_post_meta_title”> Categoría: </span> </span> {categories | taxonomy: gd_placecategory} </div>

    As it appears in the first image.
    In the second image, it shows as in the elements of the file page, we show in addition to the category, the location of the element. And that part is what we need to rescue, with a code that should be similar to this

    <div align = “center”> <span class = “geodir_post_meta_icon geodir-i-address” style = ””> <i class = ”fas fa-map-marker-alt” aria-hidden = ”true”> </ i > <span class = “geodir_post_meta_title”> Localización: </span> </span> <br> {categories | taxonomy: addressRegion} </div>

    {categories | taxonomy: addressRegion}
    It is in this part where we do not know how to call the function. To show the category of the item,is {categories | taxonomy: gd_placecategory}
    but for the location we do not know what it is. Thank you

    #472636

    Kor
    Moderator
    Post count: 16516

    Hi David,

    Thanks for your reply. I see what you mean now. Unfortunately, we do not provide assistance for 3rd party plugins and please contact the plugin author for further assistance.

    Thanks!

    #472639

    David Rodríguez
    Free User
    Post count: 45

    OK perfect. I have to ask a third party to tell me what hook, what metadata or your function name, whatever it is, that I must replace the gd_placecategory so that I can find location. Thank you very much for your (little) kindness.

    #472654

    Paolo
    Site Admin
    Post count: 31206

    the table where locations are associated with listings is geodir_gd_place_details

    Thanks

    #472716

    David Rodríguez
    Free User
    Post count: 45

    Oh! Thank you very much Paolo.

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

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

Open Support Ticket