Forum Replies Created

Viewing 15 replies - 1 through 15 (of 44 total)
  • Thread Starter Goingfor2

    (@goingfor2)

    1) My issue fixed itself. It just took some time for it to be indexed.
    2) @barrelleaf, stop using the compression sitemap. That’s what my original problem was. Google said they were all empty, but they weren’t. Once I turned off compression, everything indexed (except for the post.xml, but it eventually did)

    I have this same issue. I can’t figure it out. Have either of you had any luck?

    Thread Starter Goingfor2

    (@goingfor2)

    Okay, I uploaded the screenshot to my wordpress media so I could show you what it’s doing.

    http://goingfor2.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-10-at-9.57.38-PM-1.png

    GoingFor2.com is the domain name where I have it installed.

    Thread Starter Goingfor2

    (@goingfor2)

    Whatever you did fixed some of the issues but not all. Some of the images in the “search results” show up as question marks.

    And I’ve also noticed that I can’t embed the full size image.

    But you fixed the issue with the images not showing up on the backend.

    I don’t see a way to share a screen shot to show u the question marks search results.

    • This reply was modified 3 years, 6 months ago by Goingfor2.
    Thread Starter Goingfor2

    (@goingfor2)

    I’m running version 3.0.8

    Thread Starter Goingfor2

    (@goingfor2)

    Have you had any luck fixing this? Or is there a work around? I’ve been unable to use your plugin for a month.

    Thread Starter Goingfor2

    (@goingfor2)

    Awesome. Thank you. I’ve had to stop using the plugin temporarily because of this issue. I hope you are able to resolve it because it was one of my favorite plugins.

    Thread Starter Goingfor2

    (@goingfor2)

    That didn’t work either, my site crashed again. Starting to wonder if FB instant articles is worth the headache. When I did what you said and loaded the page, it was just blank. I couldn’t even get back to the backend of wordpress, I had to reload the php file from my cPanel. We use tablepress a lot, and without it the posts will make no sense. Any other ideas?

    Thread Starter Goingfor2

    (@goingfor2)

    This is the entirety of my functions.php file. Can you tell me exactly where to put this code?

    <?php
    /**
    * ColorMag functions related to defining constants, adding files and WordPress core functionality.
    *
    * Defining some constants, loading all the required files and Adding some core functionality.
    * @uses add_theme_support() To add support for post thumbnails and automatic feed links.
    * @uses register_nav_menu() To add support for navigation menu.
    * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
    *
    * @package ThemeGrill
    * @subpackage ColorMag
    * @since ColorMag 1.0
    */

    add_action(‘after_switch_theme’, ‘colormag_options_migrate’);
    if( !function_exists( ‘colormag_options_migrate’ ) ) :
    /**
    * Migrate customizer options from free to Pro
    *
    * @since 1.0
    */
    function colormag_options_migrate() {
    if ( false === ( $mods = get_option( “theme_mods_colormag” ) ) )
    return;
    if ( get_option( ‘colormag_transfer’ ) )
    return;
    update_option( ‘colormag_check’, ‘changed’ );
    $free = get_option( “theme_mods_colormag” );
    update_option( “theme_mods_colormag-pro”, $free );

    // Set transfer as complete
    update_option( ‘colormag_transfer’, 1 );
    }
    endif;

    /**
    * Set the content width based on the theme’s design and stylesheet.
    */
    if ( ! isset( $content_width ) )
    $content_width = 800;

    /**
    * $content_width global variable adjustment as per layout option.
    */
    function colormag_content_width() {
    global $post;
    global $content_width;

    if( $post ) { $layout_meta = get_post_meta( $post->ID, ‘colormag_page_layout’, true ); }
    if( empty( $layout_meta ) || is_archive() || is_search() ) { $layout_meta = ‘default_layout’; }
    $colormag_default_layout = get_theme_mod( ‘colormag_default_layout’, ‘right_sidebar’ );

    if( $layout_meta == ‘default_layout’ ) {
    if ( $colormag_default_layout == ‘no_sidebar_full_width’ ) { $content_width = 1140; /* pixels */ }
    else { $content_width = 800; /* pixels */ }
    }
    elseif ( $layout_meta == ‘no_sidebar_full_width’ ) { $content_width = 1140; /* pixels */ }
    else { $content_width = 800; /* pixels */ }
    }
    add_action( ‘template_redirect’, ‘colormag_content_width’ );

    add_action( ‘after_setup_theme’, ‘colormag_setup’ );

    /**
    * All setup functionalities.
    *
    * @since 1.0
    */
    if( !function_exists( ‘colormag_setup’ ) ) :
    function colormag_setup() {

    /*
    * Make theme available for translation.
    * Translations can be filed in the /languages/ directory.
    */
    load_theme_textdomain( ‘colormag’, get_template_directory() . ‘/languages’ );

    // Add default posts and comments RSS feed links to head
    add_theme_support( ‘automatic-feed-links’ );

    // This theme uses Featured Images (also known as post thumbnails) for per-post/per-page.
    add_theme_support( ‘post-thumbnails’ );

    // Registering navigation menu.
    register_nav_menus(array(
    ‘primary’ => __( ‘Primary Menu’, ‘colormag’ ),
    ‘footer’ => __( ‘Footer Menu’, ‘colormag’ )
    ));

    // Cropping the images to different sizes to be used in the theme
    add_image_size( ‘colormag-highlighted-post’, 392, 272, true );
    add_image_size( ‘colormag-featured-post-medium’, 390, 205, true );
    add_image_size( ‘colormag-featured-post-small’, 130, 90, true );
    add_image_size( ‘colormag-featured-image’, 800, 445, true );
    // Pro Options
    add_image_size( ‘colormag-default-news’, 150, 150, true );
    add_image_size( ‘colormag-featured-image-large’, 1400, 600, true );

    // Setup the WordPress core custom background feature.
    add_theme_support( ‘custom-background’, apply_filters( ‘colormag_custom_background_args’, array(
    ‘default-color’ => ‘eaeaea’
    ) ) );

    /*
    * Let WordPress manage the document title.
    * By adding theme support, we declare that this theme does not use a
    * hard-coded <title> tag in the document head, and expect WordPress to
    * provide it for us.
    */
    add_theme_support(‘title-tag’);

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

    // Adding excerpt option box for pages as well
    add_post_type_support( ‘page’, ‘excerpt’ );

    /*
    * Switch default core markup for search form, comment form, and comments
    * to output valid HTML5.
    */
    add_theme_support(‘html5’, array(
    ‘search-form’, ‘comment-form’, ‘comment-list’, ‘gallery’, ‘caption’,
    ));

    // adding the WooCommerce plugin support
    add_theme_support( ‘woocommerce’ );
    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );
    add_theme_support( ‘wc-product-gallery-slider’ );

    // Adds the support for the Custom Logo introduced in WordPress 4.5
    add_theme_support( ‘custom-logo’,
    array(
    ‘flex-width’ => true,
    ‘flex-height’ => true,
    )
    );

    // Support Auto Load Next Post plugin
    add_theme_support(‘auto-load-next-post’);

    // Support for selective refresh widgets in Customizer
    add_theme_support( ‘customize-selective-refresh-widgets’ );
    }
    endif;

    /**
    * Load ColorMag Pro Demo Importer compatibility file.
    */
    require get_template_directory() . ‘/inc/demo-importer/class-demo-importer.php’;

    /**
    * Define Directory Location Constants
    */
    define( ‘COLORMAG_PARENT_DIR’, get_template_directory() );
    define( ‘COLORMAG_CHILD_DIR’, get_stylesheet_directory() );

    define( ‘COLORMAG_INCLUDES_DIR’, COLORMAG_PARENT_DIR. ‘/inc’ );
    define( ‘COLORMAG_CSS_DIR’, COLORMAG_PARENT_DIR . ‘/css’ );
    define( ‘COLORMAG_JS_DIR’, COLORMAG_PARENT_DIR . ‘/js’ );
    define( ‘COLORMAG_LANGUAGES_DIR’, COLORMAG_PARENT_DIR . ‘/languages’ );

    define( ‘COLORMAG_ADMIN_DIR’, COLORMAG_INCLUDES_DIR . ‘/admin’ );
    define( ‘COLORMAG_WIDGETS_DIR’, COLORMAG_INCLUDES_DIR . ‘/widgets’ );

    define( ‘COLORMAG_ADMIN_IMAGES_DIR’, COLORMAG_ADMIN_DIR . ‘/images’ );

    /**
    * Define URL Location Constants
    */
    define( ‘COLORMAG_PARENT_URL’, get_template_directory_uri() );
    define( ‘COLORMAG_CHILD_URL’, get_stylesheet_directory_uri() );

    define( ‘COLORMAG_INCLUDES_URL’, COLORMAG_PARENT_URL. ‘/inc’ );
    define( ‘COLORMAG_CSS_URL’, COLORMAG_PARENT_URL . ‘/css’ );
    define( ‘COLORMAG_JS_URL’, COLORMAG_PARENT_URL . ‘/js’ );
    define( ‘COLORMAG_LANGUAGES_URL’, COLORMAG_PARENT_URL . ‘/languages’ );

    define( ‘COLORMAG_ADMIN_URL’, COLORMAG_INCLUDES_URL . ‘/admin’ );
    define( ‘COLORMAG_WIDGETS_URL’, COLORMAG_INCLUDES_URL . ‘/widgets’ );

    define( ‘COLORMAG_ADMIN_IMAGES_URL’, COLORMAG_ADMIN_URL . ‘/images’ );

    /** Load functions */
    require_once( COLORMAG_INCLUDES_DIR . ‘/custom-header.php’ );
    require_once( COLORMAG_INCLUDES_DIR . ‘/functions.php’ );
    require_once( COLORMAG_INCLUDES_DIR . ‘/header-functions.php’ );
    require_once( COLORMAG_INCLUDES_DIR . ‘/customizer.php’ );
    require_once( COLORMAG_INCLUDES_DIR . ‘/ajax.php’ );
    require_once( COLORMAG_INCLUDES_DIR . ‘/schema-markup.php’ );
    /** Add the JetPack plugin support */
    require_once( COLORMAG_INCLUDES_DIR . ‘/jetpack.php’ );

    require_once( COLORMAG_ADMIN_DIR . ‘/meta-boxes.php’ );
    require get_template_directory() . ‘/license.php’;

    /** Load Widgets and Widgetized Area */
    require_once( COLORMAG_WIDGETS_DIR . ‘/widgets.php’ );

    /**
    * Detect plugin. For use on Front End only.
    */
    include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

    ?>

    Thread Starter Goingfor2

    (@goingfor2)

    I must be doing something wrong. I copy/pastes that code exactly as you have it written and it crashed my site. I’m working with support to fix it. Not sure what I did wrong.

    Short codes dont seem to work at all with instant articles. I have the issue with tablepress. So far I haven’t found a solution.

    Thread Starter Goingfor2

    (@goingfor2)

    Okay, I was able to embed it properly, but it still doesn’t work on Facebook Instant articles.

    Thread Starter Goingfor2

    (@goingfor2)

    I actually can’t even get that embed code to work at all? Not even on a regular browser. I inserted the code just as you wrote it on the “text” side of WordPress, but nothing shows up.

    Thread Starter Goingfor2

    (@goingfor2)

    I’m using the embedded images. Copy/paste this article into facebook, give it a second to load all the ghetty images, and you will see what I mean. There are three embedded images here. And all three will show your entire homepage. Even down to the curated content at the bottom.

    http://goingfor2.com/dfs-nascar-draftkings-lineup-advice-watkins-glen-picks-8617/

    I had to disconnect Jetpack, delete and reinstall it. I think that fixed it. It’s been awhile since I did it.

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