wordpressrookie2016
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FUNCTION in /home2…Anyone there? Ty!
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FUNCTION in /home2…Another Update, it seems now that the Twenty Fifteen theme is active and pages are visible now.
May i ask how i can revert back to the old theme i have? Everything is so different and even my home page is wrong now and shows the site disclaimer instead. I also had some videos embedded on the site, now they are not there anymore. Any advice on what i can do next to bring things back to how they were, as far as the theme and more. All my navigation and other things have totally changed on the site. Thanks so much for your time.
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FUNCTION in /home2…Update: After i changed my folder name like you suggested, i can now login into my wordpress admin panel but somehow my entire site with all the pages are completely blank when i visit them. Thanks!
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FUNCTION in /home2…
Sorry for posting again, the image i sent you was not entered correctly. Here it is again. Look forward to your reply.
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected T_FUNCTION in /home2…Thank you so much for your lightning fast reply! I appreciate that sincerely!
I have just renamed the folder from ‘zerif-lite’ to ‘zerif-lite-old’ exactly(image below) and it seems that there’s nothing on the site now. Nothing appears at all that is, just a white screen with no html etc. The site again is http://www.freewebsiterankingchecker.com
Should i delete all the other themes now? Also if i remove the other themes, do i leave just the Twenty Sixteen theme or the Zerif Lite theme? And now i noticed i don’t have the Twenty Sixteen theme but i do have the Twenty Fifteen theme. Thank you again!
- This reply was modified 9 years, 6 months ago by wordpressrookie2016.
- This reply was modified 9 years, 6 months ago by wordpressrookie2016.
In addition, here’s the code below for the customizer.php file which problem is on line 41
Below is line 1 to Line 44 of the .php code i got from my hostgator cpanel file manager after following some instructions online, just in case this may help.
<?php /** * zerif Theme Customizer * * @package zerif */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function zerif_customize_register( $wp_customize ) { class Zerif_Customizer_Number_Control extends WP_Customize_Control { public $type = ‘number’; public function render_content() { ?> <label> <span class=”customize-control-title”><?php echo esc_html( $this->label ); ?></span> <input type=”number” <?php $this->link(); ?> value=”<?php echo intval( $this->value() ); ?>” /> </label> <?php } } $wp_customize->get_setting( ‘blogname’ )->transport = ‘postMessage’; $wp_customize->get_setting( ‘blogdescription’ )->transport = ‘postMessage’; $wp_customize->get_setting( ‘header_textcolor’ )->transport = ‘postMessage’; $wp_customize->get_setting( ‘custom_logo’ )->transport = ‘postMessage’; //$wp_customize->remove_section(‘colors’); if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( ‘custom_logo’, array( ‘selector’ => ‘.navbar-brand’, ‘settings’ => ‘custom_logo’, ‘render_callback’ => ‘zerif_custom_logo_callback’, )); $wp_customize->selective_refresh->add_partial( ‘zerif_bigtitle_title_2’, array( ‘selector’ => ‘.intro-text’, ‘settings’ => ‘zerif_bigtitle_title_2’, ‘render_callback’ => function() { return get_theme_mod(‘zerif_bigtitle_title_2’); }, ) );[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Thanks again!
- This reply was modified 9 years, 6 months ago by bdbrown.