Forum Replies Created

Viewing 15 replies - 1 through 15 (of 49 total)
  • Tried to update to 5.5 instead and it failed for the same reason. What to do? Need to update insecure plugin contact form 7. This is the reason for updating WP

    I’m getting this too: The authenticity of wordpress-5.6-new-bundled.zip could not be verified as no signature was found. Unpacking the update…
    Could not copy file.: wordpress/wp-includes/js/dist/edit-post.js
    Installation Failed

    Tried twice as you suggest.

    Thread Starter cyberium

    (@cyberium)

    Thanks, that’s perfect.

    Thread Starter cyberium

    (@cyberium)

    Oddly, in WordPress > Customise > Appearance > Site Identity Flowplayer DOES play. But not on the public side of the site. Why is this?

    Thread Starter cyberium

    (@cyberium)

    Error mesages on the page:
    This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/wp…_v1.0.1/library/views/scripts/fonts/Amaranth-webfont.font.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/jquery.fancybox.pack.js?v=2.1.4” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/wp…_v1.0.1/library/views/scripts/fonts/Amaranth-webfont.font.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    Loading failed for the <script> with source “https://www.history-of-wales-in-stone.gardenofwales.org.uk/wp…_v1.0.1/library/views/scripts/fonts/Amaranth-webfont.font.js”. carboniferous-limestone:52:1
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.5” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/jquery.fancybox.pack.js?v=2.1.4” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    Loading failed for the <script> with source “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/jquery.fancybox.pack.js?v=2.1.4”. carboniferous-limestone:163:1
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    Loading failed for the <script> with source “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5”. carboniferous-limestone:173:1
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.5” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    Loading failed for the <script> with source “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.5”. carboniferous-limestone:174:1
    The script from “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.
    carboniferous-limestone
    Loading failed for the <script> with source “https://www.history-of-wales-in-stone.gardenofwales.org.uk/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7”. carboniferous-limestone:177:1
    TypeError: $(…).fancybox is not a function
    carboniferous-limestone:167:18

    ?

    Thread Starter cyberium

    (@cyberium)

    Hi @jarretc – this solution works brilliantly on all pages but the blog page. Any idea how to make it do that please?

    It works on the solution mentioned above if there’s sufficient bandwidth.

    Thread Starter cyberium

    (@cyberium)

    What sort of plug-in might do that? I deactivated the likeliest suspects and it made no difference.
    So instead of putting the code in the child theme’s functions.php I put it in the parent theme’s functions.php and it worked. Magic. I wonder why? Thanks anyway.

    Thread Starter cyberium

    (@cyberium)

    @jarretc – are you sure you didn’t add anything else on your site to make it work, like defining the functions you cite?

    Thread Starter cyberium

    (@cyberium)

    Sorry I missed this answer. All the customisations are in the box above, except for some CSS that changes the colour of the site title and description. Can you send a link to your site please? Which version of WordPress are you using?

    Thread Starter cyberium

    (@cyberium)

    Hi Jarret

    Thanks. I tried that and it hasn’t worked I’m afraid. See: https://bdcr.org.uk/about/

    Any other ideas? Here are the full contents of functions.php:

    <?php

    /**
    * Twenty Seventeen Child Theme functions
    *
    * @link https://developer.www.ads-software.com/themes/basics/theme-functions/
    *
    * @package WordPress
    * @subpackage Twenty_Seventeen
    * @since 1.0
    * Change the minimum screen size to use the video header
    */

    function cyberium_video_header_pages( $active ) {
    if ( is_page() || is_single() ) {
    return true;
    }

    return false;
    }

    add_filter( ‘is_header_video_active’, ‘cyberium_video_header_pages’ );

    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );

    function my_theme_enqueue_styles() {
    $parent_style = ‘twentyseventeen-style’; // This is ‘twentyseventeen-style’ for the Twenty seventeen theme.
    wp_enqueue_style($parent_style, get_template_directory_uri() . ‘/style.css’);
    wp_enqueue_style(
    ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array($parent_style),
    wp_get_theme()->get(‘Version’)
    );
    }

    Thread Starter cyberium

    (@cyberium)

    Hi Lisa
    I followed your advice but it has still not worked. No change. Any other ideas please?

    Hi I tried the advice above and it doesn’t work. My ultimate aim is to get the video on the front page header to show in all the interior page headers. if you can suggest a way to do this that would be amazing. The code I’ve put in the child theme is not working! I’ve installed a child theme for twentyseventeen. If I choose the theme I get the message:
    “This theme is broken. Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.”
    Additionally, when selecting the theme, instead of seeing just the title “twentyseventeen-child” in the select dropdown I see also the contents of the file displayed as follows:
    “Twenty Seventeen Child Theme Theme URI: https://bdcr.org.uk/ Description: Twenty Seventeen Child Theme Author: WordPress Author URI: https://cyberium.co.uk/ Template: twentyseventeen Description: Child theme for Twenty Seventeen. Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Text Domain: twentyseventeen-child: Stylesheet (style.css)”

    The page I need help with: https://bdcr.org.uk/

    Here are the contents of the files:
    STYLE.CSS:
    /*
    Theme Name: Twenty Seventeen Child Theme
    Theme URI: https://bdcr.org.uk/
    Description: Twenty Seventeen Child Theme
    Author: WordPress
    Author URI: https://cyberium.co.uk/
    Template: twentyseventeen
    Description: Child theme for Twenty Seventeen.
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: twentyseventeen-child
    */

    /* Make sure play/pause button can be clicked on smaller screens */
    .wp-custom-header-video-button {
    z-index: 3;
    }

    .has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe {
    height: auto;
    min-height: 100px;
    }

    .has-header-image.twentyseventeen-front-page .custom-header, .has-header-video.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header {
    height: 60vw;
    }
    @media screen and (min-width: 48em)
    .has-header-image.twentyseventeen-front-page .custom-header, .has-header-video.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header {
    height: 60vw;
    }

    FUNCTIONS.PHP
    <?php
    add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
    function my_theme_enqueue_styles() {

    $parent_style = ‘parent-style’; // This is ‘twentyseventeen-style’ for the Twenty seventeen theme.

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style ),
    wp_get_theme()->get(‘Version’)
    );
    }
    /**
    * Twenty Seventeen Child Theme functions
    *
    * @link https://developer.www.ads-software.com/themes/basics/theme-functions/
    *
    * @package WordPress
    * @subpackage Twenty_Seventeen
    * @since 1.0
    * Change the minimum screen size to use the video header
    */
    function twentyseventeenchild_video_size( $settings ) {
    $settings[‘minWidth’] = 100;
    $settings[‘minHeight’] = 100;
    return $settings;
    }
    add_filter( ‘header_video_settings’, ‘twentyseventeenchild_video_size’ );
    cyberium

    Thread Starter cyberium

    (@cyberium)

    My ultimate aim is to get the video on the front page header to show in all the interior page headers. if you can suggest a way to do this that would be amazing. The code I’ve put in the child theme is not working!

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