Support – DawnThemes
  • Home
  • Portfolio
  • Support
  • Video Tutorials

Support Forums

Home/Forums/Themes/TicketBox – Event Tickets WordPress Theme//includes/init.php problems

/includes/init.php problems

This topic is: resolved
  • May 20, 2017 at 3:27 am #20960

    TStone
    Participant

    1: On line 80-83 in init.php is the following:

    $content_width = 1140;
    if ( ! isset( $content_width ) ) {
    	$content_width = 940; /* pixels */
    }

    The ‘if’ case is perfect, as it allows me to set my own content_width in the child theme. But the first line negates the ‘if’ case and makes it impossible for me to change the content_width. Can you delete the first line (line 80)?

    2: On line 607 is a spelling error:

    $dawnthemes_page_layout = ticketbox_get_theme_option('signle-event-layout', 'full-width');

    ‘signle-event-layout’ should probably be spelled ‘single-event-layout’

    3: There are a bunch of functions in init.php that I need to override in my child theme. But just very few of the functions are wrapped in:

    if ( ! function_exists( '[FUNCTION-NAME]' ) ){...}

    Life shouldn’t have to be a nightmare for those who want to customize things in the child theme. Please amend this.


    Sorry, this forum is for verified users only. Please Login or Register to continue

Log In
Register Lost Password

Recent Topics

  • WooCommerce Pagebuilder Plugin Install Failed
  • TICKET BOX THEME/DEMO IMPORT ASSISTANCE
  • Its not using my "Thank you" page
  • successful import the demo but doesn't come out the same
  • Installed, but no frontend or backend?

Knowledge Base

  • Do you provide customization service?
  • Register Envato Code
  • I can’t wait any longer! How can I quickly solve my problem?
  • How to get my Envato purchase code?
  • How to set as Private Reply over Support Forum

Recent Posts

  • Happy Lunar New Year 2021 – Holiday Break!

Featured Item

ThemeForest Items

CodeCanyon Items

Tags

#conflict avada cart cart page categories category checkout critical error CSS custom fields error Event page header images installation layout login membership menu mobile my account Page page builder page settings product product gallery product page product template refund Responsive shop page shortcode sidebar single product image Single Product Template template ticketbox Update Urgent video Viem Woocommerce WooCommerce Page Builder WPBakery wpml
© Copyright DawnThemes.com