Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Evert Albers
    @evertalbers
    The rest of the site seems to be working fine, BTW.
    Evert Albers
    @evertalbers
    (And just after posting I have found a workaround, but I'll leave the question here)
    Steve Pfisterer
    @stevep
    yeah it seems like WP_DEBUG needs to be set to true https://github.com/timber/timber/wiki/De…
    otherwise use the print_r filter
    Marko Bolliger
    @cannap
    i use php console for this
    its awesome
    and then i do
    if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
        TimberHelper::function_wrapper( 'pc_debug' );
    }
    
    
    function pc_debug( $some ) {
        PC::debug( $some );
    }
    and in timber {{ pc_debug(whatEver) }}
    and get the stuff in my console in chrome
    but dont forgot to remove all pc_debug things in production
    or maybe just add else and create a new pc class with a static debug and just return nothing
    Steve Pfisterer
    @stevep
    Neat! Better than littering the DOM
    Marko Bolliger
    @cannap
    @stevep you acf builder look interesting
    i hate this big ass arrays
    Steve Pfisterer
    @stevep
    Thanks, me too, and I hate using the UI
    Marko Bolliger
    @cannap
    yea the problem is when i use the ui in dev
    i need the php code later
    i dont merge my dev db with the production db xD
    i was thinking about create a
    small electron app
    to generate this
    Steve Pfisterer
    @stevep
    i like having it committed to the source code repository
    Marko Bolliger
    @cannap
    i need a acf cleaner or something
    in wpml i see very old fields
    this sucks
    Steve Pfisterer
    @stevep
    I never have used wpml
    acf fields are kinda brittle, if changing their names in the db
    Marko Bolliger
    @cannap
    yea it has nothing todo with wpml
    just as example
    but the fields are still there
    and then stuff got messed after time
    Steve Pfisterer
    @stevep
    writing some sort of acf field migrator (to mass rename fields, etc) is on my bucket list
    Marko Bolliger
    @cannap
    yea nice my php skill are very low for this stuff
    i do more js(node)
    i made a small extension for acf
    you can load svg sprites in and get a list of the icons via select
    it worked very well but i forgot how to migrate this in a other site
    this sucks
    Steve Pfisterer
    @stevep
    that sounds useful
    Marko Bolliger
    @cannap
    its horrible but it works
    and yea wordpress dont like svg
    its 2017..
    Steve Pfisterer
    @stevep
    ya i use some pluggin to enable svg usage
    Marko Bolliger
    @cannap
    same
    svg support or something some lines of code to enable svg and adds small poyfill
    Steve Pfisterer
    @stevep
    right that one
    Marko Bolliger
    @cannap
    wp should handle this in a other way
    Steve Pfisterer
    @stevep
    its nice because it can embed them so you can use css to stlye their contents