tablet – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Sat, 18 Jun 2022 08:39:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 Theme Options: Mobile Header https://xtratheme.com/docs/theme-options/theme-options-mobile-header/ https://xtratheme.com/docs/theme-options/theme-options-mobile-header/#respond Tue, 25 Jun 2024 11:49:59 +0000 https://xtratheme.com/docs/?p=1859

Description and Screenshot

Step 1
XTRA

Mobile Header settings

Under Theme Options > Header > Mobile Header you can find mobile header elements, settings and StyleKits.

  1. Sticky mode – Enable/disable sticky mode for mobile header
  2. Content Before Header – Create custom page and assign its content before header
  3. Content After Header – Create custom page and assign its content after header
  4. Add Elements – Add or remove new custom elements for mobile header
  5. Menu StyleKits – You can customize menu styling for mobile header
  6. Mobile Menu Social – Enable/disable mobile OffCanvas menu social icons
  7. Mobile Menu Text – Add custom text below social icons in mobile OffCanvas menu
  8. Additional StyleKits – Customize social icons and text in mobile OffCanvas menu
Theme options mobile header
Theme options mobile header 2
Tips

You may want to know …

  • Mobile Menu – You can create custom menu from Appearance > Menus and assign its location to mobile, then in mobile header elements you can set location to mobile menu.

  • Content Before/After – From Dashboard > Pages you can create a custom page and then in mobile header setting select it before or after header and theme will show that page content in mobile only.
]]>
https://xtratheme.com/docs/theme-options/theme-options-mobile-header/feed/ 0
codevz/after_header_4 https://xtratheme.com/docs/developer/codevz-after_header_4/ https://xtratheme.com/docs/developer/codevz-after_header_4/#respond Tue, 18 Jun 2024 11:39:50 +0000 https://xtratheme.com/docs/?p=3015

Example code

Step 1
XTRA

Using WordPress action add content or PHP codes

In the following example you can see how to add content or PHP codes after mobile and tablet header.

XTRA

How and where should I add this PHP codes?

Best solution is to add custom actions and filters in Child Theme functions.php file. But also you can create your own plugin and use this codes in your plugin.

]]>
https://xtratheme.com/docs/developer/codevz-after_header_4/feed/ 0