Please make franz_stack_posts_meta overwritable

  • Anonymous

    #10334

    Simply wrap it in if clause. So we can override it in child themes. Thanks

    bostjan

    #49376

    +1 for this one.

    Here is the patch for v1.7.5:

    diff -ur franz-josef.DIST/inc/stacks.php franz-josef/inc/stacks.php
    --- franz-josef.DIST/inc/stacks.php	2018-04-08 15:14:52.506857096 +0200
    +++ franz-josef/inc/stacks.php	2018-04-08 15:33:21.182740583 +0200
    @@ -316,6 +316,7 @@
     endif;
     
     
    +if ( ! function_exists( 'franz_stack_posts_meta' ) ) :
     /**
      * Item meta for Posts stack
      */
    @@ -351,4 +352,5 @@
                 <?php endforeach; ?>
             </div>
         <?php
    -}
    \ No newline at end of file
    +}
    +endif;
    

    Leon745

    #49745

    My help is this “buy pro version and you get that” variant. I see plugins where certain lines of code were strategically compromised and when I unanimously denounced such very obvious things that did not work before, they started to work

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

You must be logged in to reply to this topic.