WordPress.org

Forums

Tabify Edit Screen
[resolved] filter 'tabify_tab_location' (3 posts)

  1. brutoblo99
    Member
    Posted 1 year ago #

    you can use the filter 'tabify_tab_location' and passing the value 'after_title' to it.

    can you give me an example code of this?

    Moreover, may I suggest a little edit on tabify_edit_screen.php
    line 16
    from: private $tab_location = 'default';
    to: private $tab_location = 'after_title';

    I think this should be the default position (or, at least, what i was expecting)
    btw, tnxs for this plugin, i'm using it with pods and love it!

    https://wordpress.org/plugins/tabify-edit-screen/

  2. Marko Heijnen
    Member
    Plugin Author

    Posted 1 year ago #

    function my_tabify_location( $location ) {
    	return 'after_title';
    }
    add_filter( 'tabify_tab_location', 'my_tabify_location' );

    I did thought about to change the default position but decided against it. This because the my plugin controls both columns and the title is only one column. Also the title can be a part of a tab if someone wants to do that.

  3. brutoblo99
    Member
    Posted 1 year ago #

    tnxs Marko!
    still learning wordpress, but slowly getting there, also tnxs to you :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tabify Edit Screen
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic