Author Name in Listing

This topic contains 8 replies, has 3 voices, and was last updated by  Paolo 8 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #64550

    acengiz
    Expired Member
    Post count: 54

    Hi,

    I want to show the author name in listing and listing details as in attachments. Is it possible to do that without changing code? I also looked the details of “claim listing” add-on, i think that is not answering my problem.

    I found an old topic in forum fro the lisitng detail but not sure this is still valid:
    https://wpgeodirectory.com/support/topic/author-not-showing-on-listing/

    What are your suggesstions?

    Best regards,
    Anil

    #64560

    Guust
    Moderator
    Post count: 29970

    The claim addon should be your solution.
    For example, see the sidebar here – Look for “author:zizou”:
    http://wpgeo.directory/hotels/united-states/illinois/chicago/3-stars/acme-hotel/

    #64602

    acengiz
    Expired Member
    Post count: 54

    Hello,
    Should i make “Auto approve claim listing?” and “Show link to author page on listings” to YES to show the author name when they published listings?

    There is no need a second approvement for the listing in my project. The author who add a listing, is the owner of that.They list their places.

    Best regards,
    Anil

    #64617

    Guust
    Moderator
    Post count: 29970

    You need to “Show link to author page on listings” and then the author will show, but only if the user has stated they are the “owner” when submitting the listing.
    You can also change the ownership in the backend, see image.

    #64621

    acengiz
    Expired Member
    Post count: 54

    Yes i tried one, it works. But is there any way to make “is claimed” default “yes” for authors.
    I think it needs code change, right? Can you give me a startpoint to do it?

    Thanks a lot,
    Anil

    #64627

    Guust
    Moderator
    Post count: 29970

    You would need to set the question “Business Owner/Associate?*” in the Add Listing form to be always “YES”.
    I’ll get Paolo to have a look at that question for you, to see if that can be achieved with some code.

    #64697

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please try to add this in your footer scripts in GeoDirectory >> Design >> Scripts:

    
    
    <script>
    if(jQuery("input:radio[name=claimed]:checked").val()=== undefined){
    jQuery("input:radio[name=claimed][value=1]").prop('checked', true);
    }
    
    </script>

    This will auto check YES for business owner in the add listing form.

    Thanks

    #64698

    acengiz
    Expired Member
    Post count: 54

    Okey thank you Guust.

    Paolo, can you have a look at that issue ?

    Thanks,
    Anil

    #64700

    Paolo
    Site Admin
    Post count: 31206

    I just replied…

    Thx

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

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

Open Support Ticket