Forum Replies Created

Viewing 15 replies - 16 through 30 (of 62 total)
  • Thread Starter trixee

    (@trixee)

    Thanks WebberZone. Does it also refresh the thumbnails for the related posts?

    Thread Starter trixee

    (@trixee)

    Hi WebberZone,
    Deleting the plugin and reinstalling it worked. However I had to take a screenshot of the settings so I could remember them, it took a while to set it up again the way I wanted.
    Thanks.

    Thread Starter trixee

    (@trixee)

    Similarly, adding a featured image to a page doesn’t render that image as the thumbnail. Instead the first image is pulled from the page.

    Thread Starter trixee

    (@trixee)

    I tracked this down to a very strange issue where WordPress didn’t like it if the slug contained certain words, which just happened to be related to the name of the website.

    Thread Starter trixee

    (@trixee)

    alchymyth – thank you! That worked!

    Many thanks ??

    Thread Starter trixee

    (@trixee)

    Thanks for your help Craig, and sorry for taking so long to reply.

    I switched theme to twenty fourteen – no change.

    I restored an older version – no change.

    I checked the page source – there is no the_content() loop. It’s using the same template as other posts, so I don’t understand how the template itself would be affecting it.

    Another funny thing I noticed – the search doesn’t work anymore. I get a 404 with a link to this page: https://www.litespeedtech.com/error-page
    I wonder if it’s something to do with my provider.

    Thread Starter trixee

    (@trixee)

    It’s software, not magic. WordPress clearly does recognise it because it’s been showing those videos fine. It just doesn’t show the updated one – why?

    Thread Starter trixee

    (@trixee)

    That fixed it, thanks for your help!

    Thread Starter trixee

    (@trixee)

    Thanks for your quick reply.

    1. After I press Save Changes, my changes aren’t saved for the custom taxonomies.

    2. Here is the code to create the taxonomies:

    //-------------------------   Taxonomies  --------------------------------
    // hook into the init action and call create_version_taxonomy when it fires
    add_action( 'init', 'create_version_taxonomy', 0 );
    // Create and register a custom taxonomy for product versions
    function create_version_taxonomy() {
    	// Add new taxonomy, make it non-hierarchical (like tags)
    	$labels = array(
    		'name'                       => _x( 'Versions', 'Taxonomy General Name' ),
    		'singular_name'              => _x( 'Version', 'Taxonomy Singular Name' ),
    		'search_items'               => __( 'Search Versions' ),
    		'popular_items'              => __( 'Popular Versions' ),
    		'all_items'                  => __( 'All Versions' ),
    		'parent_item'                => __( 'Parent Version' ),
    		'parent_item_colon'          => __( 'Parent Version:' ),
    		'edit_item'                  => __( 'Edit Version' ),
    		'update_item'                => __( 'Update Version' ),
    		'add_new_item'               => __( 'Add New Version' ),
    		'new_item_name'              => __( 'New Version Number' ),
    		'separate_items_with_commas' => __( 'Separate versions with commas' ),
    		'add_or_remove_items'        => __( 'Add or remove versions' ),
    		'choose_from_most_used'      => __( 'Choose from the most used versions' ),
    		'not_found'                  => __( 'No version found.' ),
    		'menu_name'                  => __( 'Version' ),
    		);
    	$args = array(
    		'hierarchical'               => false,
    		'labels'                     => $labels,
    		'show_ui'                    => true,
    		'show_admin_column'          => true,
    		'update_count_callback' 	 => '_update_post_term_count',
    		'query_var'        			 => true,
    		'rewrite'                    => array('slug' => 'version'),
    	);
    	//make it available for both pages and posts
    	//register_taxonomy('Version', 'page', $args);
    	register_taxonomy('Version', array('page','post'), $args);
    }
    
    // hook into the init action and call create_product_taxonomy when it fires
    add_action( 'init', 'create_product_taxonomy', 0 );
    // Create and register a custom taxonomy for product names
    function create_product_taxonomy() {
    	// Add new taxonomy, make it hierarchical (like categories)
    	$labels = array(
    		'name'                       => _x( 'Products', 'Taxonomy General Name' ),
    		'singular_name'              => _x( 'Product', 'Taxonomy Singular Name' ),
    		'search_items'               => __( 'Search Products' ),
    		'all_items'                  => __( 'All Products' ),
    		'parent_item'                => __( 'Parent Product' ),
    		'parent_item_colon'          => __( 'Parent Product:' ),
    		'edit_item'                  => __( 'Edit Product' ),
    		'update_item'                => __( 'Update Product' ),
    		'add_new_item'               => __( 'Add New Product' ),
    		'new_item_name'              => __( 'New Product Name' ),
    		'menu_name'                  => __( 'Product' ),
    		);
    	$args = array(
    		'hierarchical'               => true,
    		'labels'                     => $labels,
    		'show_ui'                    => true,
    		'show_admin_column'          => true,
    		'query_var'        			 => true,
    		'rewrite'                    => array('slug' => 'product'),
    	);
    	//make it available for both pages and posts
    	register_taxonomy('Product', array('page','post'), $args);
    }

    Thanks for your help!

    Thread Starter trixee

    (@trixee)

    OK, weird. I deactivated some plugins and it fixed, then reactivated them all one by one – all plugins are still activated and admin still works properly. Looks like just the act of deactivating and reactivating fixed the problem.

    Thread Starter trixee

    (@trixee)

    I was able to resolve this by assigning Full Control to IUSR.

    Thread Starter trixee

    (@trixee)

    I think the ability to style the default headings etc would be really helpful, like how the main text editor has “text” mode that allows you to add css. Or an easier way, even.

    Thread Starter trixee

    (@trixee)

    Thanks, but the problem is that I now can’t access the wp-admin that I was migrating to as the database is broken. I need a way of fixing the database first. Your plugin essentially deleted a bunch of tables, which is not what I expected from a migration. It should have just inserted new stuff into existing tables.

    Me too!

    Thread Starter trixee

    (@trixee)

    Oh ok, now I feel silly, didn’t realise you had to click for each option! Thank you ??

Viewing 15 replies - 16 through 30 (of 62 total)