Florian

Forum Replies Created

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • in reply to: ACF Fields #4009
    Florian
    Keymaster

    Hey there,
    thanks for going back with this info.

    It seems that the problem appears to be from a time, datetime or date field. I’m not quite sure why this happens (as I was not able to reproduce it) but I could at least fix the fatal error.

    Maybe you can update to version 2.28.3 of SNIP which should be available later this day. Here is how you can update it if you don’t see the update yet: https://rich-snippets.io/automatic-updates/#updates_not_appearing

    Please test it again and check if the field is printed out in your schema when filled.

    Greetings
    Florian

    in reply to: ACF Fields #3996
    Florian
    Keymaster

    Hey there,
    and thanks for your message. I hope you’re doing well today.

    The only way to find that error is to activate DEBUG Log as described here: https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log
    After activating the debug log functionality, reload the page with the white screen and check the debug.log file. You should see a “FATAL Error” anywhere. You can also post the content of the file here if you want.

    1) is it possible to set conditional properties, which are only active if an ACF field exists in a post (assuming that not all fields are used in all posts)?
    > Currently not (without programming knowledge)

    2) is it possible to make the entire markup, e.g. for an event schema, conditional, i.e. the schema markup isn’t inserted in a post if NOT ALL of the ACF fields used in the properties have values?
    > Currently not (without programming knowledge).

    Hope that helps

    in reply to: Import JSON doesn’t seem to work #3921
    Florian
    Keymaster

    Hey there,
    and thanks for your comment on the forums.

    Maybe you can try this:

    
    {
        "id": "snip-global-breadcrumbs-posts",
        "context": "http://schema.org",
        "type": "BreadcrumbList",
        "itemListElement-prop-5c63f68381ee5": {
            "0": "http://schema.org/ListItem",
            "1": {
                "id": "snip-5c641556a573b",
                "context": "http://schema.org",
                "type": "ListItem",
                "name-prop-5c64155761709": {
                    "0": "term_title",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "position-prop-5c6415576a168": {
                    "0": "textfield_sequential_number",
                    "1": "breadcrumbs_posts",
                    "overridable": false,
                    "overridable_multiple": false
                },
                "item-prop-5c64155778310": {
                    "0": "term_url",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "loop": "taxonomy_category"
            },
            "overridable": false,
            "overridable_multiple": false
        },
        "itemListElement-prop-5c6404b73450b": {
            "0": "http://schema.org/ListItem",
            "1": {
                "id": "snip-5c6404be55fb9",
                "context": "http://schema.org",
                "type": "ListItem",
                "name-prop-5c6404be5f27d": {
                    "0": "current_post_title",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "position-prop-5c6404be6c368": {
                    "0": "textfield_sequential_number",
                    "1": "breadcrumbs_posts",
                    "overridable": false,
                    "overridable_multiple": false
                },
                "item-prop-5c6404be79508": {
                    "0": "current_post_url",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                }
            },
            "overridable": false,
            "overridable_multiple": false
        },
        "@id-prop-5e425e11ac690": {
            "0": "textfield",
            "1": "#breadcrumbs",
            "overridable": false,
            "overridable_multiple": false
        },
        "_is_export": true,
        "@ruleset": [
            [
                {
                    "param": "post_type",
                    "operator": "==",
                    "value": "post"
                }
            ]
        ]
    }

    It seems that the importer has a problem when the @context-attribute has a prepending www. The above should work as it should be.

    in reply to: Two Product Schemas, One Product #3849
    Florian
    Keymaster

    No worries. Let me know if you need any further help.

    in reply to: How to display all images of post in schema? #3845
    Florian
    Keymaster

    Of course! In line 19 you define the name of the loop.
    On line 46 you define the items. Here you need some code that fetches all the images from your blog post and return it as image objects.

    Hope that helps.
    Florian

    in reply to: How to display all images of post in schema? #3841
    Florian
    Keymaster

    Hey there,

    yes, you can do that by creating your own loop: https://rich-snippets.io/how-to-add-your-own-loop/

    Greetings
    Florian

    in reply to: Two Product Schemas, One Product #3836
    Florian
    Keymaster

    Hey Darryl,
    and thanks for your message. I hope you’re doing well today.

    Could the second one be coming from automatic Yoast schema?

    Yes, maybe. It can be from YoastSEO or another third party plugin.

    Yoast schema? Despite selecting the SNIP setting to “remove Yoast schema data”, the problem persists

    SNIP can only remove Structured Data created from their SEO plugin, not from their WooCommerce SEO plugin. But I developed a plugin that removes that data, too. Here you go: https://rich-snippets.io/how-to-deactivate-structured-data-generation-in-yoast-seo/#remove_from_yoastseo_woocommerce

    Greetings
    Flo

    in reply to: How can I add LocalBusiness Schema in existing posts? #3800
    Florian
    Keymaster

    Hey there,
    sorry for my late response.

    You can just walk through the SetupWizard. It will support you to create a LocalBusiness schema.

    Greetings
    Florian

    in reply to: adding custom schema type #3710
    Florian
    Keymaster

    Hi there and thanks for your comment on this.

    I’m not quite sure what do you mean exactly by this. Maybe you can explain a little bit more.

    You can always add properties yourself.

    Greetings

    in reply to: Assign to specific type of category #3687
    Florian
    Keymaster

    Hey there,
    and thanks for your questions.

    In the rules metabox you can set up a rule like this to target terms from a category:

    Post category is equal to [your category].

    That should do the trick.

    Greetings
    Florian

    in reply to: It is a post sale question #3604
    Florian
    Keymaster

    Hey cesarvid,
    and thanks for your message. Sorry for my late response.

    It maybe was just a hiccup from CodeCanyons API. Did it work out in the meantime?

    Greetings
    Florian

    in reply to: Recipe Data structure problems #3576
    Florian
    Keymaster

    Hey Umut,
    and thanks for the clarification.

    I guess what you’re trying to achieve is to loop through the recipe items, correct? Unfortunately that doesn’t work. But you can access the single items. Try the following for the first item:

    qodef_recipe_single_ingredients_items->0->qodef_recipe_single_ingredients_text

    For the second item you do:

    qodef_recipe_single_ingredients_items->1->qodef_recipe_single_ingredients_text

    And so on.

    Because you don’t know how much ingredients you have, I would ask a developer to build a custom loop for you which would it make it way easier for you.

    • This reply was modified 3 years ago by Florian.
    in reply to: Recipe Data structure problems #3570
    Florian
    Keymaster

    Hey there,
    and thanks for your message.

    There was a bug prior version 2.24.0 which caused an issue using arrows in the textfield of the Postmeta field type. So I would recommend up upgrade to the latest version first.

    If the problem still persists, please post the structured of the array from the database.

    Also please note that the data needs to be stored in the wp_postmeta database table. SNIP cannot access data from anywhere else at this point in time.

    Greetings
    Flo

    in reply to: Setup Wizard Not working #3495
    Florian
    Keymaster

    Hey there,
    and thanks for your comment on this!

    Can you describe what exactly is not working?

Viewing 14 posts - 16 through 29 (of 29 total)