ian bran

Forum Replies Created

Viewing 3 posts - 91 through 93 (of 93 total)
  • Author
    Posts

  • ian bran
    Expired Member
    Post count: 122

    I have to add that on localhost the inserting of dummy data works, but on a live site (cloudways + vultr) is not. I checked with cloudways support and they didn’t find a possible cause on the server side.

    in reply to: GET FIELDS – Trying to print them on a table #413290

    ian bran
    Expired Member
    Post count: 122

    Thanks Alex!
    yes, I did look the referenced posts, there was one I didn’t have access to.
    I’ll try again. I’m evaluating buying the membership depending on how easy (for me) is to customize the plugin.

    cheers!

    in reply to: GET FIELDS – Trying to print them on a table #413001

    ian bran
    Expired Member
    Post count: 122

    Hello Alex, thank you for the help!

    According to what i read there

    <?php echo $post->geodir_email; ?>

    should print the post email…but it does nothing

    I added to functions.php:

    
    
    add_action( 'geodir_details_main_content', 'my_custom_action',35);
    function my_custom_action(){global $post; print_r($post);}

    but print_r($post) is showing me regular post meta, not geodir-specific, an example with first 5 elements:

    ` [ID] => 59
    [post_author] => 1
    [post_date] => 2018-01-10 20:07:32
    [post_date_gmt] => 2018-01-10 20:07:32
    [post_content] => …and so on`

    Should I put something before

    <?php echo $post->geodir_email; ?>

    ?

    Again, thanks!

Viewing 3 posts - 91 through 93 (of 93 total)