silas

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Is Thematic affected? #4407

    silas
    Participant

    Thank you for the information – that is good news.

    Thank you also for continuing to support this great theme.

    in reply to: Thematic 2.0 and Content Security Policy #4225

    silas
    Participant

    Thanks for your comments. I can see it is not a straightforward fix.

    Great info about the WordPress ticket that I hadn’t seen – I noticed that has now been assigned, so maybe something will happen there.

    in reply to: Thematic 2.0 and Content Security Policy #4221

    silas
    Participant

    Thanks for considering this. I understand that child themes and plugins are another issue but it would be great if standard Thematic supported CSP out of the box.

    Regarding the inline script from wp_localize_script() – instead of inlining it would it be possible to have Themnatic load it from local script file instead?

    Thanks.

    in reply to: Change h1 to h2 in aside widget #3915

    silas
    Participant

    Hmm, should have used search earlier! I just found this discussion which is exactly what I am after, Scott even has the code I need!

    https://github.com/middlesister/thematic-html5/issues/8

    I read through the discussion and noted the html5 comments but I was just thinking wouldn’t it make life easier if aside widgets were not h1 by default exactly for SEO. Bing SEO Analyzer flags multiple h1’s as a high severity issue –

    High Severity Issue  
    
    There are multiple h1 tags on the page.
    
    Recommended Action:  
    Remove redundant h1 tags from the page source, 
    so that only one h1 tag exists. 
    in reply to: child's play – java script #3619

    silas
    Participant

    I used a macro in a text editor to find all the modernizr functions (tests[‘…’]) in the modernizr.js included with childsplay and then searched for them in my childsplay style.css. I excluded the modernizr.xxx functions as they are easy to find anyway (none used in childsplay).

    I only found …

    svg
    audio
    video
    rgba
    canvas

    I can comment out the audio and video items as I don’t need them. Altogether I will get a huge reduction in the size of the final modernizr script used on my site, once compressed it will be < 10% of the uncompressed full script.

    In case this of use to someone else the full list of modernizr functions I used to search from was

    inlinesvg
    svgclippaths
    smil
    inlinesvg
    svg
    applicationcache
    webworkers
    sessionstorage
    localstorage
    audio
    video
    generatedcontent
    fontface
    csstransitions
    csstransforms3d
    csstransforms
    cssreflections
    cssgradients
    csscolumns
    cssanimations
    opacity
    textshadow
    boxshadow
    borderradius
    borderimage
    backgroundsize
    multiplebgs
    hsla
    rgba
    websockets
    draganddrop
    history
    hashchange
    indexedDB
    websqldatabase
    postmessage
    geolocation
    touch
    webgl
    canvastext
    canvas
    flexboxlegacy
    flexbox
    smil

    Thanks for the tip on the html5 plugin – I had already noticed and I plan to try it out shortly.

     

    in reply to: child's play – java script #3615

    silas
    Participant

    I also wonder is there such a thing as a css / js “compiler”, by that I mean a program that generates files which include the only code that is actually used / needed. Approx 50% of my sytle sheet css is superfluous and AFAIK minify type programmes eliminate unused css.

    in reply to: child's play – java script #3613

    silas
    Participant

    A couple of follow-on’s

    1. 🙂
    2. a) How do you figure out which modernizr elements need to be enabled in the build options when you are production ready? It doesn’t seem reliable to just do that from memory – not for me at least. b) Do you use modernizr.load?
    3. OK – I’ll wait for the stable release and your update.
    4. Thanks – I appreciate the effort it must take to support themes that you may not be using much any more.

    You didn’t mention the name of your awesome responsive theme – is it Titanic?

    in reply to: Removing double h1 in static front page #3594

    silas
    Participant

    You are completely correct (of course!). I hadn’t properly understood how the full blog_description function worked. I thought that you missed out the add_action for simplicity and I assumed I should include it. Effectively I was calling the override function twice 🙁

    Thanks for correcting my error so quickly.

    in reply to: childsplay – adding meta data #3490

    silas
    Participant

    Scott,

    Thanks for you comments.

    I had looked at WordPress SEO by Yoast previously and I felt there was a lot of overhead that I didn’t need as my pages are static.

    However in light of your comments I’ve put my function tweaks on ice and have decided to give WordPress SEO another try.

Viewing 9 posts - 1 through 9 (of 9 total)