Favourites direct link / twitter card image

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

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

Open Support Ticket
  • Author
    Posts
  • #278069

    David Walker
    Expired Member
    Post count: 15

    Hi

    A couple of questions.

    (1) Is their a direct link that i can add for the customers favourites. The link i have got so far is

    http://whichweddingvenue.co.uk/author/whichweddingvenue/?geodir_dashbord=true&stype=gd_place&list=favourite

    But obviously that author is me, so is their a way to replace whichweddingvenue which a variable of whoever is logged in?

    (2) Also the twitter:image twitter cards do not seem to work on the category pages, they work find on the listing page. So this page

    http://whichweddingvenue.co.uk/venue/stafford/riverway-cricket-club-wedding-venue/

    Bring back this, which is good:

    <meta name=”twitter:card” content=”summary_large_image” />
    <meta name=”twitter:description” content=”View Details of the Stafford Cricket & Hockey Club in Stafford. Easily find details of all wedding venues in Stafford” />
    <meta name=”twitter:title” content=”Stafford Cricket & Hockey Club in Stafford | Which Wedding Venue” />
    <meta name=”twitter:site” content=”@ukweddingvenue” />
    <meta name=”twitter:image” content=”http://whichweddingvenue.co.uk/wp-content/uploads/2016/09/2113_IMG_0035a.jpg” />
    <meta name=”twitter:creator” content=”@ukweddingvenue” />

    But on this page, for Small Wedding Venues

    it only brings back this

    <meta name=”twitter:card” content=”summary_large_image” />
    <meta name=”twitter:description” content=”Find all of the Small Wedding Venues at which wedding venue” />
    <meta name=”twitter:title” content=”Small Wedding Venues – Which Wedding Venue” />
    <meta name=”twitter:site” content=”@ukweddingvenue” />

    I have added an image to the category and chose large image in the Yoast SEO section

    Any advice?

    Thanks

    David Walker
    http://www.ecentury.co.uk

    #278194

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    for the favorite link you will need some PHP. Example:

    
    
    <?php 
    $current_user = wp_get_current_user();
    echo '<a href="http://whichweddingvenue.co.uk/author/' . $current_user->user_login . '/?geodir_dashbord=true&stype=gd_place&list=favourite">Favorites</a>';?>

    I flagged the topic for the developers to answer to your second question.

    Thanks

    #278484

    Kiran
    Moderator
    Post count: 7069

    Hello David,

    2) We have added default category image in twitter:image tag if category image set.

    This will be reflected in next version of GeoDirectory v1.6.9.

    Thanks

    #278495

    David Walker
    Expired Member
    Post count: 15

    Thats fantastic, thank you.

    Would it be possible to do it aswell for the locations

    So for this link, which is for West Midlands Wedding Venues

    http://whichweddingvenue.co.uk/venue/west-midlands/

    It does not show the twitter large image either:

    <meta name=”twitter:card” content=”summary_large_image” />
    <meta name=”twitter:description” content=”West Midlands Wedding Venues – Which Wedding Venue” />
    <meta name=”twitter:title” content=”West Midlands Wedding Venues – Which Wedding Venue” />
    <meta name=”twitter:site” content=”@ukweddingvenue” />

    Many Thanks

    David Walker

    #278511

    Kiran
    Moderator
    Post count: 7069

    If possible we will add for locations as well.

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

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

Open Support Ticket