FX Builder
Developed by Ciprian Popescu
Plugin Description
FX Builder is an improved page builder plugin for ClassicPress that provides visual columns in the post editor without using shortcodes.
To disable front-end CSS, you can use this code:
add_filter( 'fx_builder_css', '__return_false' );
If you disable settings, you need to enable FX Builder for each post type by yourself, by adding support for it. Here’s how to add FX Builder to a “property” post type:
add_action(
'init',
function() {
add_post_type_support( 'property', 'fx_builder' );
}
);
_fxb_db_version
Database version. This is simply saving plugin version so we can do stuff in the future when needed.
_fxb_active
This is switcher status. “1” if active null if not active.
_fxb_custom_css
Custom CSS for the page. This CSS only loaded in singular pages
_fxb_custom_css_disable
If true, css is not loaded in front end. Useful to disable CSS without removing the CSS.
_fxb_row_ids
Comma separated of row IDs. Row IDs are creation timestamps.
_fxb_rows
This is a multidimentional array with all rows data the data will look like this:
_fxb_rows = [
{row id} => [
'id' => the time stamp when row created.
'index' => row index order
'state' => open/close
'col_num' => number of column active (1-5)
'layout' => settings: layout (e.g 1/2 -1/2)
'col_order' => collapse order "l2r" (left to right) or "r2l" (right to left)
'col_1' => comma separated item ids in col 1
'col_2' => comma separated item ids in col 2
'col_3' => comma separated item ids in col 3
'col_4' => comma separated item ids in col 4
'col_5' => comma separated item ids in col 5
'row_title' => row title/admin label
'row_html_id' => front end element html id
'row_html_class' => front end element html classes
]
{other row id} => ....
]
_fxb_items
This is a multidimentional array with all data of an item the data will look like this:
_fxb_items = [
{item_id} => [
'item_id' => {the time stamp when item created}
'item_index' => the order of an item.
'item_state' => "open" or "close"
'item_type' => "text" (currently only have one type)
'row_id' => the ID of the row
'col_index' => 1-5. the column index. 1st - 5th.
'content' => content of the item.
]
{other item id} => ....
]