Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author NextScripts

    (@nextscripts)

    THe name of the custom field should be the exact name.

    1. It could be case sensetive. Please try %CF-prizorisce%
    2. Are you sure that field is just “prizorisce”, not something like “tev2_prizorisce”?

    Thread Starter gregy1403

    (@gregy1403)

    it is plain “prizorisce” .. here’s the code which we use to display this field on the page

    <p class="address"><span><?php echo PRIZORISCE_TEXT;?> :</span> <?php echo get_post_meta($post->ID,'prizorisce',true);?></p>

    i’ll try again with case sensitive ..

    Thread Starter gregy1403

    (@gregy1403)

    works ??

    Thank you

    Thread Starter gregy1403

    (@gregy1403)

    not quite ??

    with the same code entered in settings of SNAP on new post publsihed

    %TITLE% – %CF-prizorisce%

    i recieve only

    TITLE –

    BUT

    with the same code “reposted to Facebook” after post is published i get

    TITLE – PRIZORISCE

    strange …

    Plugin Author NextScripts

    (@nextscripts)

    Most probably this field is not yet set at the time you publish a post. Please try to set 3-5 minutes delay.

    Thread Starter gregy1403

    (@gregy1403)

    Thanx .. i’ll try that .. i read it’s better to set real cron job .. not wp cron, right?

    Thread Starter gregy1403

    (@gregy1403)

    Please explain me one more thing. If i set up cron on my linux server as instructed here

    https://www.nextscripts.com/tutorials/wp-cron-scheduling-tasks-in-wordpress/

    what should i check in SNAP setting

    Publish imediattley or WP cron .. little confused ??

    Thread Starter gregy1403

    (@gregy1403)

    Cron disabked, cron set on server, everything works great! Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Inserting custom post type field’ is closed to new replies.