Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Theramblingcrees

    (@theramblingcrees)

    How do we get FTP access? And if we cannot we essentially need to delete and redo our blog?

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    We purchased the managed wordpress domain and hosting from godaddy. I had enabled editing on the appearance page > editor. I just literally copy and pasted below line 79 and now I cannot access anything at all on my domain or admin pages.

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    I immediately removed the add-widget code (restoring it to the original Saga functions.php that I had posted in this post initially) after I got the error and it is still coming up.

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    I cannot access anything in my blog admin- if I try to go through my wordpress.com account and then click on my ramblingcree.com/wp-admin link it brings me to the same error page.

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    I copy and pasted this code:

    <?php
    /**
    * Register our sidebars and widgetized areas.
    *
    */
    function arphabet_widgets_init() {

    register_sidebar( array(
    ‘name’ => ‘Home right sidebar’,
    ‘id’ => ‘home_right_1’,
    ‘before_widget’ => ‘<div>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”rounded”>’,
    ‘after_title’ => ‘</h2>’,
    ) );
    }
    add_action( ‘widgets_init’, ‘arphabet_widgets_init’ );
    ?>

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    I tried to add widgets to my Saga theme functions.php. with no prior knowledge of code and did little research aside from finding a forum on www.ads-software.com on how to add widgets…bad idea. This is the link to the Saga theme functions.php code that I found on www.ads-software.com, it looks the same and only has 79 lines:

    https://themes.trac.www.ads-software.com/browser/saga/1.0.1/functions.php?rev=38055

    After Line 79 I had copy and pasted the code for adding widgets to my theme that I also found on a forum on www.ads-software.com.

    So where do I go from here?

    Thread Starter Theramblingcrees

    (@theramblingcrees)

    Hi Craig,

    this is the code that I am referring to:

    <?php
    /**
    * “Oh, when I look back now / That summer seemed to last forever / And if I had the choice /
    * Yeah, I’d always wanna be there / Those were the best days of my life” – Bryan Adams (Summer of ’69)
    *
    * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
    * General Public License as published by the Free Software Foundation; either version 2 of the License,
    * or (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
    * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    *
    * You should have received a copy of the GNU General Public License along with this program; if not, write
    * to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    *
    * @package Saga
    * @subpackage Functions
    * @author Justin Tadlock <[email protected]>
    * @copyright Copyright (c) 2014, Justin Tadlock
    * @link https://themehybrid.com/themes/saga
    * @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    */

    /* Get the template directory and make sure it has a trailing slash. */
    $saga_dir = trailingslashit( get_template_directory() );

    /* Load the Hybrid Core framework and theme files. */
    require_once( $saga_dir . ‘library/hybrid.php’ );
    require_once( $saga_dir . ‘inc/custom-background.php’ );
    require_once( $saga_dir . ‘inc/custom-header.php’ );
    require_once( $saga_dir . ‘inc/custom-colors.php’ );
    require_once( $saga_dir . ‘inc/theme.php’ );
    require_once( $saga_dir . ‘inc/customize.php’ );

    /* Launch the Hybrid Core framework. */
    new Hybrid();

    /* Set up the theme early. */
    add_action( ‘after_setup_theme’, ‘saga_theme_setup’, 5 );

    /**
    * The theme setup function. This function sets up support for various WordPress and framework functionality.
    *
    * @since 1.0.0
    * @access public
    * @return void
    */
    function saga_theme_setup() {

    /* Enable custom template hierarchy. */
    add_theme_support( ‘hybrid-core-template-hierarchy’ );

    /* The best thumbnail/image script ever. */
    add_theme_support( ‘get-the-image’ );

    /* Pagination. */
    add_theme_support( ‘loop-pagination’ );

    /* Nicer [gallery] shortcode implementation. */
    add_theme_support( ‘cleaner-gallery’ );

    /* Better captions for themes to style. */
    add_theme_support( ‘cleaner-caption’ );

    /* Automatically add feed links to <head>. */
    add_theme_support( ‘automatic-feed-links’ );

    /* Post formats. */
    add_theme_support(
    ‘post-formats’,
    array( ‘aside’, ‘audio’, ‘chat’, ‘image’, ‘gallery’, ‘link’, ‘quote’, ‘status’, ‘video’ )
    );

    /* Editor styles. */
    add_editor_style( saga_get_editor_styles() );

    /* Handle content width for embeds and images. */
    hybrid_set_content_width( 1100 );
    }

    Thank you!

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