• Resolved stardeuche

    (@stardeuche)


    hi,

    i want put in my static page a slider with carbon fields.

    in wordpress the static page is a template front-page.php. in my case the permalink of my homepage is : http://mysite/

    if i want put a slider in this specific page, how i make this?

    in the docs of carbon fields, i found this : “Show container on a specific page, identified by path, for example: parent-page/sub-page :
    ->show_on_page($page_path)”

    but i don’t understand this recommandations for my problem

    thanks so lot

    bye

    https://ww.wp.xz.cn/plugins/carbon-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stardeuche

    (@stardeuche)

    ->show_on_post_type(‘page’)
    ->show_on_page(‘accueil’)

    with this code, my container with a complex field is in my homepage

    great !!

    bye

    Plugin Author htmlBurger

    (@htmlburger)

    Hey @stardeuche,

    As far as I understand, you were able to find your way?

    Please, don’t hesitate to let us know if you have any further questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘complex field in a static page’ is closed to new replies.