• Hi all,

    The video’s on my site display (and play) perfectly in a standard theme like Twenty Fifteen, both if I put them in the WP Page Editor and when I put them in a PHP template. Also, I’ve used several video plug-in with their own shortcodes, and they all work fine – in Twenty Fifteen.

    In my own theme, however, nothing works at all when it comes to videos. Instead of the video displaying, it simply shows the shortcode (or url, as the case may be) AS TEXT. Not good of course.

    I’m building and using a child theme that simply consists of a style.css file, a small functions.php file, and a lot of page template files (i.e. PHP). Nothing of all this seems to have to do anything with video content.

    As for the parent theme (called Naked WordPress), I’ve deleted all its (viewable) files, because it only hindered the development. I’ve simply been building my own web site in the child theme, and the presence of the parent theme (or presumably, ANY parent theme) only interfered with my own ideas of how the site should look, while offering no advantages – hence at some point I decided to do everything myself in the child theme, and deleted all of the parent theme’s (viewable) code.

    But could it be that, in doing so, I’ve also deleted something that should be there in order for video’s to display? I would expect that the ability to display video’s is a feature of WordPress itself, independently from the theme used. But maybe a theme should somehow enable that ability?

    In that respect, I note that the video’s do not diplay in the (now virtually empty) parent theme either.

    Incidentally, this is the only problem of this kind (i.e. theme-dependent problem) that I’ve had so far. Unlike video’s, images look just fine in my own child theme, and all plug-ins (like a calendar and maps) work and display fine.

    So… if anyone has any idea of what might be going on here – and for all I know, it could be something really silly – I’ll be glad to hear it. Thanks.

    Hagelslag.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    – Your currently used theme is not in the www.ads-software.com/themes/ directory:
    https://www.ads-software.com/themes/search/%20Naked%20WordPress/
    https://www.ads-software.com/themes/search/%20Naked/

    – These forums are for free themes available in the WordPress theme directory at www.ads-software.com/themes/. So please contact the developer/vendor directly for support with your question. You’ll be more likely to find a good answer from them, for they have the access to its code. Forum volunteers are not given access to commercial products, so they would not know why your /custom/commercial theme or plugin is not working properly. The developers/vendors are responsible for supporting their custom/commercial product. See https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    Thread Starter Hagelslag

    (@hagelslag)

    Hi Tara,

    Thanks. OK.

    But I’d like to do away with the parent theme entirely. (As I said, the child theme is of my own making, but – apart from style.css and a nearly empty functions.php – only contains page templates.)

    Hence my next question: Is it possible to build a site in WordPress (with video playing enabled obviously) *without* using a pre-made theme? Or should I somehow ‘upgrade’ my child theme to an independent (non-child) theme, and if so, how difficult would that be?

    Thanks again.

    Moderator t-p

    (@t-p)

    WP theme directory has hundreds of themes to choose from:
    https://www.ads-software.com/themes/

    if you need to customize your theme, then it’s best to create a child theme otherwise your customizations will be over-written the next time you upgrade. Also, keep the default WordPress theme unedited, because having access to an unedited version of the theme is vital when dealing with a range of site issues. For this reason, consider creating a Child Theme for your customizations and/or use Custom CSS Manager plugin: https://www.ads-software.com/plugins/custom-css-manager-plugin/ and add the code there.

    Thread Starter Hagelslag

    (@hagelslag)

    Hi Tara,

    Thanks. But I basically want to build a web site from scratch, and a pre-made theme (made by someone else) only interferes and hinders while implementing my own ideas. I do want to use WordPress, because of its great back-end functionality and many plug-ins, not because of its themes.

    So ideally I would like my site either to be independent from any theme, or turn the site – as developed in the child theme – into a (stand-alone) theme itself. I haven’t really looked into the latter possibility as yet, but for now I’m mostly curious as to how difficult and/or time-consuming it would be.

    Moderator t-p

    (@t-p)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Video's don't display in my theme’ is closed to new replies.