Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Motljus

    (@motljus)

    Thread Starter Motljus

    (@motljus)

    Great! Thanks for the quick reply!
    That seems to be the setting I was looking for!

    Thread Starter Motljus

    (@motljus)

    Thanks for answering.
    Tried the Bulk Awards tool but no change to rank levels. Even after clearing cache for both Gamipress and Leaderboard.
    several users are still randomly stuck on different rank levels and not progressing. Many are stuck on the default rank 1 still, despite having over 1000 points.

    Thread Starter Motljus

    (@motljus)

    I have begun clearing up tags from a the first of the conflicting taxonomy terms, in an attempt to make them easier to split or perhaps even delete the unused completely. That is why there are no tags using the term “dataspel” no more, but 48 using the category with the same term id and name.

    The problem with replacing the term_id (3) for taxonomy_term_id 101 with 101, if I understand you correctly, is that the term_id 101 is already populated with another term;
    101 Crowdfunding crowdfunding 0

    Is that perhaps the reason why the split is malfunctioning?

    Thread Starter Motljus

    (@motljus)

    Check and analyze results in Status OK however, if that says anything.

    Thread Starter Motljus

    (@motljus)

    Tried running repair and got this cutoff message;

    spelkult_se.wp_spelkult_se_termmeta 	repair 	note 	The storage engine for the table doesn't support r...
    spelkult_se.wp_spelkult_se_terms 	repair 	note 	The storage engine for the table doesn't support r...
    spelkult_se.wp_spelkult_se_term_relationships 	repair 	note 	The storage engine for the table doesn't support r...
    spelkult_se.wp_spelkult_se_term_taxonomy 	repair 	note 	The storage engine for the table doesn't support r...

    Optimize resulted in these messages

    spelkult_se.wp_spelkult_se_termmeta 	optimize 	note 	Table does not support optimize, doing recreate + ...
    spelkult_se.wp_spelkult_se_termmeta 	optimize 	status 	OK
    spelkult_se.wp_spelkult_se_terms 	optimize 	note 	Table does not support optimize, doing recreate + ...
    spelkult_se.wp_spelkult_se_terms 	optimize 	status 	OK
    spelkult_se.wp_spelkult_se_term_relationships 	optimize 	note 	Table does not support optimize, doing recreate + ...
    spelkult_se.wp_spelkult_se_term_relationships 	optimize 	status 	OK
    spelkult_se.wp_spelkult_se_term_taxonomy 	optimize 	note 	Table does not support optimize, doing recreate + ...
    spelkult_se.wp_spelkult_se_term_taxonomy 	optimize 	status 	OK
    Thread Starter Motljus

    (@motljus)

    Thanks for answering.
    Had to check with the database to get the full info first;
    That is unfortunately the Term Taxonomy ID that is different. They still share the same Term ID = 3 (Rollspel)

    SELECT * FROM 'wp_spelkult_se_terms'ORDER BY'term_id' ASC
    
    term_id name	slug	term_group
    3 	Rollspel 	rollspel 	0
    43 	Levande rollspel 	levande-rollspel 	0
    44 	Bordsrollspel 	bordsrollspel 	0
    SELECT * FROM'wp_spelkult_se_term_taxonomy'WHERE'term_id' = 3
    
    term_taxonomy_id	term_id	taxonomy	description	parent	count
    3 	3 	category 	Artiklar om allt fr?n bordsrollspel till levande r... 	0 	48
    101 	3 	post_tag 		0 	0
    • This reply was modified 5 years, 3 months ago by Motljus.
    • This reply was modified 5 years, 3 months ago by Motljus.
    Thread Starter Motljus

    (@motljus)

    Please.
    Does anyone have experience with not being able to split their terms at all, or does anyone know where to keep looking or debug to track down the reason of this bug?

    Thread Starter Motljus

    (@motljus)

    Thanks for the link to where in the source code btw, @bcworkz
    It made me search for the WP_error I was logging

    Could not split shared term.

    Which in turn led me to this part of the code;

    	if ( false === $wpdb->insert( $wpdb->terms, $new_term_data ) ) {
    		return new WP_Error( 'db_insert_error', __( 'Could not split shared term.' ), $wpdb->last_error );
    	}

    …so I logged the array $new_term_data

    Array ( [name] => Rollspel [slug] => rollspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 3 could not be split! -> Could not split shared term.1
    Array ( [name] => Rollspel [slug] => rollspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 101 could not be split! -> Could not split shared term.1
    Array ( [name] => Dataspel [slug] => dataspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 37 could not be split! -> Could not split shared term.1
    Array ( [name] => Dataspel [slug] => dataspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 211 could not be split! -> Could not split shared term.1
    Array ( [name] => Bordsrollspel [slug] => bordsrollspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 47 could not be split! -> Could not split shared term.1
    Array ( [name] => Bordsrollspel [slug] => bordsrollspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 554 could not be split! -> Could not split shared term.1
    Array ( [name] => Skr?ck [slug] => skrack [term_group] => 0 )
    ERROR: Term Taxonomy ID 556 could not be split! -> Could not split shared term.1
    Array ( [name] => Skr?ck [slug] => skrack [term_group] => 0 )
    ERROR: Term Taxonomy ID 58 could not be split! -> Could not split shared term.1
    Array ( [name] => Figurspel [slug] => figurspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 61 could not be split! -> Could not split shared term.1
    Array ( [name] => Figurspel [slug] => figurspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 1870 could not be split! -> Could not split shared term.1
    Array ( [name] => Fantasy [slug] => fantasy [term_group] => 0 )
    ERROR: Term Taxonomy ID 547 could not be split! -> Could not split shared term.1
    Array ( [name] => Fantasy [slug] => fantasy [term_group] => 0 )
    ERROR: Term Taxonomy ID 71 could not be split! -> Could not split shared term.1
    Array ( [name] => Warhammer 40k [slug] => warhammer-40k [term_group] => 0 )
    ERROR: Term Taxonomy ID 1868 could not be split! -> Could not split shared term.1
    Array ( [name] => Warhammer 40k [slug] => warhammer-40k [term_group] => 0 )
    ERROR: Term Taxonomy ID 82 could not be split! -> Could not split shared term.1
    Array ( [name] => Science Fiction [slug] => science-fiction [term_group] => 0 )
    ERROR: Term Taxonomy ID 549 could not be split! -> Could not split shared term.1
    Array ( [name] => Science Fiction [slug] => science-fiction [term_group] => 0 )
    ERROR: Term Taxonomy ID 91 could not be split! -> Could not split shared term.1
    Array ( [name] => Cthulhu [slug] => cthulhu [term_group] => 0 )
    ERROR: Term Taxonomy ID 555 could not be split! -> Could not split shared term.1
    Array ( [name] => Cthulhu [slug] => cthulhu [term_group] => 0 )
    ERROR: Term Taxonomy ID 102 could not be split! -> Could not split shared term.1
    Array ( [name] => Lajv [slug] => lajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 540 could not be split! -> Could not split shared term.1
    Array ( [name] => Lajv [slug] => lajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 136 could not be split! -> Could not split shared term.1
    Array ( [name] => Kr?nika [slug] => kronika [term_group] => 0 )
    ERROR: Term Taxonomy ID 175 could not be split! -> Could not split shared term.1
    Array ( [name] => Kr?nika [slug] => kronika [term_group] => 0 )
    ERROR: Term Taxonomy ID 171 could not be split! -> Could not split shared term.1
    Array ( [name] => brevlajv [slug] => brevlajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 841 could not be split! -> Could not split shared term.1
    Array ( [name] => brevlajv [slug] => brevlajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 199 could not be split! -> Could not split shared term.1
    Array ( [name] => Fantasylajv [slug] => fantasylajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 583 could not be split! -> Could not split shared term.1
    Array ( [name] => Fantasylajv [slug] => fantasylajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 232 could not be split! -> Could not split shared term.1
    Array ( [name] => LAN [slug] => lan [term_group] => 0 )
    ERROR: Term Taxonomy ID 564 could not be split! -> Could not split shared term.1
    Array ( [name] => LAN [slug] => lan [term_group] => 0 )
    ERROR: Term Taxonomy ID 1880 could not be split! -> Could not split shared term.1
    Array ( [name] => LAN [slug] => lan [term_group] => 0 )
    ERROR: Term Taxonomy ID 287 could not be split! -> Could not split shared term.1
    Array ( [name] => Datorspel [slug] => datorspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 1881 could not be split! -> Could not split shared term.1
    Array ( [name] => Datorspel [slug] => datorspel [term_group] => 0 )
    ERROR: Term Taxonomy ID 289 could not be split! -> Could not split shared term.1
    Array ( [name] => Zombie [slug] => zombie [term_group] => 0 )
    ERROR: Term Taxonomy ID 551 could not be split! -> Could not split shared term.1
    Array ( [name] => Zombie [slug] => zombie [term_group] => 0 )
    ERROR: Term Taxonomy ID 379 could not be split! -> Could not split shared term.1
    Array ( [name] => Historiskt [slug] => historiskt [term_group] => 0 )
    ERROR: Term Taxonomy ID 558 could not be split! -> Could not split shared term.1
    Array ( [name] => Historiskt [slug] => historiskt [term_group] => 0 )
    ERROR: Term Taxonomy ID 497 could not be split! -> Could not split shared term.1
    Array ( [name] => Airsoft [slug] => airsoft [term_group] => 0 )
    ERROR: Term Taxonomy ID 541 could not be split! -> Could not split shared term.1
    Array ( [name] => Airsoft [slug] => airsoft [term_group] => 0 )
    ERROR: Term Taxonomy ID 590 could not be split! -> Could not split shared term.1
    Array ( [name] => Turnering [slug] => turnering [term_group] => 0 )
    ERROR: Term Taxonomy ID 546 could not be split! -> Could not split shared term.1
    Array ( [name] => Turnering [slug] => turnering [term_group] => 0 )
    ERROR: Term Taxonomy ID 1558 could not be split! -> Could not split shared term.1
    Array ( [name] => Elmia [slug] => elmia [term_group] => 0 )
    ERROR: Term Taxonomy ID 565 could not be split! -> Could not split shared term.1
    Array ( [name] => Elmia [slug] => elmia [term_group] => 0 )
    ERROR: Term Taxonomy ID 1789 could not be split! -> Could not split shared term.1
    Array ( [name] => barnlajv [slug] => barnlajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 569 could not be split! -> Could not split shared term.1
    Array ( [name] => barnlajv [slug] => barnlajv [term_group] => 0 )
    ERROR: Term Taxonomy ID 899 could not be split! -> Could not split shared term.1
    Array ( [name] => Martinsg?rden [slug] => martinsgarden [term_group] => 0 )
    ERROR: Term Taxonomy ID 824 could not be split! -> Could not split shared term.1
    Array ( [name] => Martinsg?rden [slug] => martinsgarden [term_group] => 0 )
    ERROR: Term Taxonomy ID 828 could not be split! -> Could not split shared term.1
    Array ( [name] => Berghem [slug] => berghem [term_group] => 0 )
    ERROR: Term Taxonomy ID 883 could not be split! -> Could not split shared term.1
    Array ( [name] => Berghem [slug] => berghem [term_group] => 0 )
    ERROR: Term Taxonomy ID 903 could not be split! -> Could not split shared term.1

    Is term_group meant to be 0? Otherwise I can’t tell what is causing the insert to fail. Can you?

    Thread Starter Motljus

    (@motljus)

    Well we have been able to add new terms (both new categories and tags) and also delete those who are not conflicting, without any problems.
    It is just those 47 that are sharing the same ID that are causing problems, so that can’t be the reason and we aren’t getting any more error logging from the script than that it is unable to split the terms.

    Thread Starter Motljus

    (@motljus)

    Update:
    The settings are still with https:// as it should be.
    But we tried inactivating and deactivating the plugin and at first thought that fixed it, since the first post got right for some reason, but then it started reverting back to https:// again.
    I really don’t think it’s Opengraph that is the problem, since it’s the actual URL that is wrong with https:// in the post, which in turn makes it impossible for the images to load and be fetched by opengraph.
    Twitter also gets the wrong URL published, but is magically able to fetch its image properly despite our site not supporting https:// yet.

    Thread Starter Motljus

    (@motljus)

    Full functions.php
    Has any of these functions been outdated by the new WordPress release?

    <?php
    /************* GLOBAL CONTENT WIDTH ***************/
    if ( !isset($content_width)) { $content_width = 600; }

    if ( !function_exists( ‘cb_adjust_cw’ )) {
    function cb_adjust_cw() {
    global $content_width, $post;
    if ($post != NULL) {
    $cb_custom_fields = get_post_custom();
    if (isset($cb_custom_fields[‘cb_full_width_post’][0])) {$content_width = 940;}
    }

    if ( is_page_template( ‘template-full-width.php’ ) )
    $content_width = 940;
    }
    }
    add_action( ‘template_redirect’, ‘cb_adjust_cw’ );

    /************* LOAD NEEDED FILES ***************/

    require_once(‘library/core-functions.php’);
    require_once(‘library/translation/translation.php’);

    // Load Framework
    add_filter( ‘ot_show_pages’, ‘__return_false’ );
    add_filter( ‘ot_show_new_layout’, ‘__return_false’ );
    add_filter( ‘ot_theme_mode’, ‘__return_true’ );
    include_once get_template_directory().’/option-tree/ot-loader.php’;
    include_once get_template_directory().’/library/extensions/theme-options.php’;

    define( ‘RWMB_URL’, trailingslashit( get_stylesheet_directory_uri() . ‘/library/extensions/meta-box’ ) );
    define( ‘RWMB_DIR’, trailingslashit( get_stylesheet_directory() . ‘/library/extensions/meta-box’ ) );
    require_once RWMB_DIR . ‘meta-box.php’;
    include RWMB_DIR . ‘cb-meta-boxes.php’;

    /************* THUMBNAIL SIZE OPTIONS *************/

    add_image_size(‘cb-thumb-90-crop’, 90, 90, true); // Used on sidebar widgets
    add_image_size(‘cb-thumb-220-crop’, 220, 180, true ); // Used on Category Style A, Top Reviews Template
    add_image_size(‘cb-thumb-350-crop’, 350, 200, true ); // Used on Category Style B, Module B, Grid 6, Grid 7, Related Posts
    add_image_size(‘cb-thumb-380-crop’, 380, 380, true ); // Used on Grid 4, Grid 5, Grid 6, Grid 7, Gallery
    add_image_size(‘cb-thumb-600-crop’, 600, ‘350’, true ); // Used on Featured Image, Grid 4, Grid 5, Grid 6, Grid 7
    add_image_size(‘cb-thumb-1020-crop’, 1020, ‘500’, true ); // Used on Full-width Slider and content-width featured images
    add_image_size(‘cb-thumb-1400’, 1400, ”, true ); // Used on Full-BG featured images

    /************* ACTIVE SIDEBARS ********************/

    // Sidebars & Widgetizes Areas
    if ( ! function_exists( ‘cb_register_sidebars’ ) ) {
    function cb_register_sidebars() {
    // Sidebar Widget Area 1
    register_sidebar(array(
    ‘name’ => ‘Sidebar’,
    ‘id’ => ‘sidebar-1’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”cb-sidebar-widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”cb-sidebar-widget-title”>’,
    ‘after_title’ => ‘</h3>’
    ));

    // Footer 1
    register_sidebar(array(
    ‘name’ => ‘Footer 1’,
    ‘id’ => ‘footer-1’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”%2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”cb-footer-widget-title”>’,
    ‘after_title’ => ‘</h3>’
    ));
    // Footer 2
    register_sidebar(array(
    ‘name’ => ‘Footer 2’,
    ‘id’ => ‘footer-2’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”%2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”cb-footer-widget-title”>’,
    ‘after_title’ => ‘</h3>’
    ));
    // Footer 3
    register_sidebar(array(
    ‘name’ => ‘Footer 3’,
    ‘id’ => ‘footer-3’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”%2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”cb-footer-widget-title”>’,
    ‘after_title’ => ‘</h3>’
    ));
    // Footer 4
    register_sidebar(array(
    ‘name’ => ‘Footer 4’,
    ‘id’ => ‘footer-4’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”%2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”cb-footer-widget-title”>’,
    ‘after_title’ => ‘</h3>’
    ));
    }
    }
    /*********************
    SCRIPTS & ENQUEUEING
    *********************/
    add_action(‘after_setup_theme’,’cb_script_loaders’, 15);

    if ( ! function_exists( ‘cb_script_loaders’ ) ) {
    function cb_script_loaders() {
    // enqueue base scripts and styles
    add_action(‘wp_enqueue_scripts’, ‘cb_scripts_and_styles’, 999);
    // enqueue admin scripts and styles
    add_action(‘admin_enqueue_scripts’, ‘cb_post_admin_scripts_and_styles’);
    // ie conditional wrapper
    add_filter( ‘style_loader_tag’, ‘cb_ie_conditional’, 10, 2 );
    }
    }

    if ( ! function_exists( ‘cb_scripts_and_styles’ ) ) {
    function cb_scripts_and_styles() {
    if ( !is_admin() ) {
    // modernizr (without media query polyfill)
    wp_register_script( ‘cb-modernizr’, get_template_directory_uri(). ‘/library/js/modernizr.custom.min.js’, array(), ‘2.6.2’, false );
    wp_enqueue_script(‘cb-modernizr’); // enqueue it
    // register main stylesheet
    wp_register_style( ‘cb-main-stylesheet’, get_template_directory_uri() . ‘/library/css/style.css’, array(), ‘2.5’, ‘all’ );
    wp_enqueue_style(‘cb-main-stylesheet’); // enqueue it
    // register flexslider stylesheet
    wp_register_style(‘flexslider’, get_template_directory_uri() . ‘/library/css/flexslider.css’, array(), ‘2.5’, ‘all’);
    wp_enqueue_style(‘flexslider’); // enqueue it
    // ie-only stylesheet
    wp_register_style( ‘cb-ie-only’, get_template_directory_uri(). ‘/library/css/ie.css’, array(), ‘2.5’, ‘all’ );
    wp_enqueue_style(‘cb-ie-only’); // enqueue it
    // register font awesome stylesheet
    wp_register_style(‘fontawesome’, ‘//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css’, array(), ‘4.0.3’, ‘all’);
    wp_enqueue_style(‘fontawesome’); // enqueue it
    // comment reply script for threaded comments
    if ( is_singular() AND comments_open() AND (get_option(‘thread_comments’) == 1)) { global $wp_scripts; $wp_scripts->add_data(‘comment-reply’, ‘group’, 1 ); wp_enqueue_script( ‘comment-reply’ );}
    // Load Flexslider (Must be loaded in head)
    wp_register_script( ‘cb-flexslider’, get_template_directory_uri() . ‘/library/js/jquery.flexslider-min.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-flexslider’ ); // enqueue it
    // Load Superfish
    wp_register_script( ‘cb-superfish’, get_template_directory_uri() . ‘/library/js/superfish.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-superfish’ ); // enqueue it
    // Load Hover Intent
    wp_register_script( ‘cb-hoverIntent’, get_template_directory_uri() . ‘/library/js/hoverIntent.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-hoverIntent’ ); // enqueue it
    // Load lightbox
    $cb_lightbox_onoff = ot_get_option(‘cb_lightbox_onoff’, “on”);
    if ($cb_lightbox_onoff != ‘off’) {
    wp_register_script( ‘cb-lightbox’, get_template_directory_uri() . ‘/library/js/jquery.fs.boxer.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-lightbox’ ); // enqueue it
    }
    // Load Cookie
    wp_register_script( ‘cb-cookie’, get_template_directory_uri() . ‘/library/js/cookie.min.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-cookie’ ); // enqueue it
    // Load Fitvids
    wp_register_script( ‘cb-fitvid’, get_template_directory_uri() . ‘/library/js/jquery.fitvids.min.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-fitvid’ ); // enqueue it
    // Load Backstretch
    wp_register_script( ‘cb-backstretch’, get_template_directory_uri() . ‘/library/js/jquery.backstretch.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-backstretch’ ); // enqueue it
    // Load Jquery Tools
    wp_register_script( ‘cb-jquery-tools’, get_template_directory_uri() . ‘/library/js/jquery.tools.min.js’, array( ‘jquery’ ),”, true);
    wp_enqueue_script( ‘cb-jquery-tools’ ); // enqueue it
    // Load scripts
    wp_register_script( ‘cb-js’, get_template_directory_uri() . ‘/library/js/cb-scripts.js’, array( ‘jquery’ ), ‘2.5.4’, true);
    wp_enqueue_script( ‘cb-js’ ); // enqueue it
    }
    }
    }

    if ( ! function_exists( ‘cb_post_admin_scripts_and_styles’ ) ) {
    function cb_post_admin_scripts_and_styles($hook) {
    // loading admin styles only on edit + posts + new posts
    if( $hook == ‘post.php’ || $hook == ‘post-new.php’ || $hook == ‘profile.php’ || $hook == ‘user-edit.php’ || $hook == ‘themes.php’) {
    wp_register_style( ‘cb-admin-css’, get_template_directory_uri(). ‘/library/css/admin.css’, array(), ” );
    wp_enqueue_style(‘cb-admin-css’); // enqueue it
    wp_register_style( ‘cb-admin-editor’, get_template_directory_uri(). ‘/library/css/editor-style.css’, array(), ” );
    wp_enqueue_style(‘cb-admin-editor’); // enqueue it
    wp_register_script( ‘admin-js’, get_template_directory_uri() . ‘/library/js/cb-admin.js’, array(), ”, true);
    wp_enqueue_script( ‘admin-js’ ); // enqueue it

    }
    }
    }

    // adding the conditional wrapper around ie stylesheet
    // source: https://code.garyjones.co.uk/ie-conditional-style-sheets-wordpress/
    if ( ! function_exists( ‘cb_ie_conditional’ ) ) {
    function cb_ie_conditional( $tag, $handle ) {
    if ( ‘cb-ie-only’ == $handle ) {
    $tag = ‘<!–[if lt IE 9]>’ . “\n” . $tag . ‘<![endif]–>’ . “\n”;
    }
    return $tag;
    }
    }

    /*********************
    Load bundled extensions
    ********************/
    if ( ! function_exists( ‘cb_bundled_extras’ ) ) {
    function cb_bundled_extras() {

    require_once get_template_directory() . ‘/library/extensions/cb-125-ads-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-recent-posts-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-random-post-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-social-media-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-tabs-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-top-reviews-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/cb-facebook-like-widget.php’;
    require_once get_template_directory() . ‘/library/extensions/shortcodes/cb-shortcodes.php’;
    require_once get_template_directory() . ‘/library/extensions/Tax-meta-class/cb-class-config.php’;

    $jetpack_mods = get_option( ‘jetpack_active_modules’ );

    if ($jetpack_mods == NULL) {$jetpack_mods = array();}

    if (!in_array( ‘shortcodes’, $jetpack_mods )) { require_once get_template_directory() . ‘/library/extensions/soundcloud-shortcode.php’; }
    }
    }

    // fire up bundled extras
    add_action(‘after_setup_theme’, ‘cb_bundled_extras’, 17);

    // Review meta box + Top Reviews template meta box
    if (is_admin()){

    require_once get_template_directory() . ‘/library/extensions/cb-custom-meta.php’;
    }

    Thread Starter Motljus

    (@motljus)

    But my theme hasn’t been changed in over a year.
    It is Ciola.

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