Page Settings Box in Custom Post Type.

Home Forums Jevelin Theme Page Settings Box in Custom Post Type.

Home Forums Jevelin Theme Page Settings Box in Custom Post Type.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • boaconstrictora
    Participant

    My theme is Jevelin. I created a Custom Post Type with the Generadorwp. The page editor has a box called Page Setup (Capture: https://ibb.co/hnDxcb) that has several options, including Total Width. I want that box to also appear in the CPT editor in order to give the appearance of full width to them.

     

    This option activates a conditional in the header.php (Capture: https://ibb.co/hfxJiG) If you do NOT mark the option Full width in Page Setup, then it will be added to a division between the sections (Capture: https: / / ibb .co / nsrm3G) that cause a NOT Full Width style, but narrow.

     

    If I activate the Full Width option, then that div disappears and the sections occupy the entire screen. I’ve tried it by inspecting element, I take away the classes from that div, and everything is full width. If I do it with a screen: none disappears because they are inside the div, so you can not.

     

    He tried to do it through the Supports that comes in the CPT code, but all other things that are not from Page Settings. I do not know how to “call it” from there. Someone told me that I should write the page-attributes and set the hierarchical option to true. (Capture: https://ibb.co/nbS7cb) This did not work.

     

    It is not an add_meta_box. I saw that it is an array that is in a page.php file in the path: jevelin / framework-customizations / theme / options / posts / page.php

    (Here the capture: https://ibb.co/dkD2Aw) The strange thing here is that an option that indicates a matrix in a site that should appear does not appear. How can I find it also in my CPT?

     

    I’ve been in this for more than a week, and the solution could not be found. I do not have much knowledge of WP programming, but you have to go on the road.

     

    How to find the page.php that a WP tells you to put that Settings Page box in the page editor? If you find it, you can also put it in the Custom Publication Type that I created.

     

    How can I send information to the header.php so that it activates that conditional with the Full Width from the CPT?

    What would be the solution?

     

    Thank you very much.

    Hi @boaconstrictora,

     

    I hope you are well today and thanks for posting here.

     

    Developing custom code for custom functionality or providing support for it is beyond the scope of support that we provide here. Please see https://themeforest.net/item/jevelin-multipurpose-premium-responsive-wordpress-theme/14728833/support

     

    If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

     

    Best regards,
    Shufflehound team

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