Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter Chip G.

    (@chip-g)

    Resolved.

    Thread Starter Chip G.

    (@chip-g)

    Hello— can someone please advise.

    Thread Starter Chip G.

    (@chip-g)

    Hello— What can I do to get my site back up?

    Attempting to remove the ‘wp’ from the URL via the two listed database tables as listed above, I have downed my site.

    From looking at the provided link, are you able to troubleshoot an error or missed step in the process? CharlieBubblesBook.com
    —Thank you.

    — look for wp_options.
    — Under the field option_name, scroll down and look for siteurl.
    — In the input box for option_value, carefully change the URL information to the new address.
    — Look for the home field in the table and click Edit Field.
    — In the input box for option_value, carefully change the URL information to the new address.

    Thread Starter Chip G.

    (@chip-g)

    Okay. Again, thank you for your troubleshooting.

    Thread Starter Chip G.

    (@chip-g)

    Okay, I’m back up to where I started. I thank you Andrew.

    Should I begin a new thread to learn how to remove the header from only 1 page of my site?

    Thread Starter Chip G.

    (@chip-g)

    Yes, I see and understand to remove that bit. But, I did add the (id=443) Shouldn’t that be changed to what it was initially?

    Thread Starter Chip G.

    (@chip-g)

    Thread Starter Chip G.

    (@chip-g)

    <?php
    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
    
    /* Add custom functions below */
    remove_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );
    
    <?php $header_image = get_header_image();
    if ( ! empty( $header_image ) && is_page(id=443) ) : ?>
    	<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
    <?php endif; ?>
    Thread Starter Chip G.

    (@chip-g)

    Hello— I recognize in the code is_page(id=443) is what I added and obviously incorrect. What should be between the parenthesis to get me back to initial order?

    <?php
    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
    
    /* Add custom functions below */
    remove_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );
    
    <?php $header_image = get_header_image();
    if ( ! empty( $header_image ) && is_page(id=443) ) : ?>
    	<a>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
    <?php endif; ?>
    Thread Starter Chip G.

    (@chip-g)

    ? Other tha posted text what specifically should I look for?

    Parse error: syntax error, unexpected ‘<‘ in /home/charlieb/public_html/wp/wp-content/themes/twentytwelve-child/functions.php on line 9

    Thread Starter Chip G.

    (@chip-g)

    My site is and has been online. I could not get MN Contact to work as written above. I preferred the MN Contact as it was aesthetically pleasing. I have switched to the WordPress Contact Form provided within the pages menu which is working fine. Thank you.

    Thread Starter Chip G.

    (@chip-g)

    Site is back up and running. Although the WooCommerce ‘Default Sorting’ dropdown is still there, which that code was to remove. No worries, after all that I’ll leave it there.

    I thank you very much. A bit overwhelming for an amateur. Glad you are here.

    Thread Starter Chip G.

    (@chip-g)

    <?php
    // Exit if accessed directly
    if ( !defined(‘ABSPATH’)) exit;

    /* Add custom functions below */
    Theme functions: remove_action( ‘woocommerce_pagination’, ‘woocommerce_catalog_ordering’, 20 );

    Thread Starter Chip G.

    (@chip-g)

    Okay, via FTP I have accessed my ‘/wp-content/themes/twentytwelve-child/functions.php’ file which is a long page of code. What specifically am I looking for to fix the code?

    Thread Starter Chip G.

    (@chip-g)

    <?php
    /**
    * Administration Functions
    *
    * This file is deprecated, use ‘wp-admin/includes/admin.php’ instead.
    *
    * @deprecated 2.5.0
    * @package WordPress
    * @subpackage Administration
    */

    _deprecated_file( basename(__FILE__), ‘2.5’, ‘wp-admin/includes/admin.php’ );

    /** WordPress Administration API: Includes all Administration functions. */
    require_once(ABSPATH . ‘wp-admin/includes/admin.php’);

Viewing 15 replies - 1 through 15 (of 21 total)