Quantcast
Channel: tagDiv support
Browsing all 280 articles
Browse latest View live

td_api_header_style::update

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update the parameters of an existing header style. Usage: <?php td_api_header_style::update( $id, $params_array ) ?>...

View Article


td_api_header_style::update_key

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update only one of the parameters of an existing header style. Usage: <?php td_api_header_style::update_key( $id, $key, $value )...

View Article


td_api_header_style::delete

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to delete one of the existing header styles. Usage: <?php td_api_header_style::delete( $id ) ?> Parameters: $id (string)...

View Article

Image may be NSFW.
Clik here to view.

API – Blocks – Introduction

Available on: Newsmag V1.8+, Newspaper V5+ The td_api_block api call allows you to add or modify a block. Blocks are used to build pages, each block uses one or more modules as a base element. The...

View Article

td_api_block::add

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to add new blocks to the theme. The block id must start with td_block_, that’s how the theme knows to only load the block when needed,...

View Article


td_api_block::update

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update the parameters of an existing block. Usage: <?php td_api_block::update( $id, $params_array ) ?> Parameters: $id (string)...

View Article

td_api_block::update_key

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update only one of the parameters of an existing block. Usage: <?php td_api_block::update_key( $id, $key, $value ) ?>...

View Article

td_api_block::delete

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to delete one of the existing blocks. Usage: <?php td_api_block::delete( $id ) ?> Parameters: $id (string) (required) the block id...

View Article


Image may be NSFW.
Clik here to view.

API – Single Template – Introduction

Available on: Newsmag V1.8+, Newspaper V5+ The td_api_single_template class allows you to add or modify a single template.  If no option is set the theme uses the default post template which looks like...

View Article


td_api_single_template::add

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to add a new single template style to the theme. Usage: <?php td_api_single_template::add( $id, $params_array ) ?> Parameters: $id...

View Article

td_api_single_template::update

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update the parameters of an existing single template. Usage: <?php td_api_single_template::update( $id, $params_array ) ?>...

View Article

td_api_single_template::update_key

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update only one of the parameters of an existing single template. Usage: <?php td_api_single_template::update_key( $id, $key,...

View Article

td_api_single_template::delete

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to delete one of the existing single template. Usage: <?php td_api_single_template::delete( $id ) ?> Parameters: $id (string)...

View Article


Image may be NSFW.
Clik here to view.

API – Top Bar Template – Introduction

Available on: Newsmag V1.8+, Newspaper V5+ The td_api_top_bar_template class allows you to add or modify a top bar template. The theme default top bar looks like this: The top bar template can be...

View Article

td_api_top_bar_template::add

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to add a new top bar template to the theme. Usage: <?php td_api_top_bar_template::add( $id, $params_array ) ?> Parameters: $id...

View Article


td_api_top_bar_template::update

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update the parameters of an existing top bar template. Usage: <?php td_api_top_bar_template::update( $id, $params_array ) ?>...

View Article

td_api_top_bar_template::update_key

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to update only one of the parameters of an existing top bar template. Usage: <?php td_api_top_bar_template::update_key( $id, $key,...

View Article


td_api_top_bar_template::delete

Available on: Newsmag V1.8+, Newspaper V5+ This api call is used to delete one of the existing top bar template. Usage: <?php td_api_top_bar_template::delete( $id ) ?> Parameters: $id (string)...

View Article

The child-theme method

The theme API can be used from the child theme to modify or add new elements, for this you have to edit the functions.php file located inside the child-theme directory and add the hook and the function...

View Article

Practical example – How to add a new Block and Module

I) The code This section contains an example on how to add a new block and a new module using the theme API plugin method. First create a folder and name it for example “td-api-plugin”, inside the...

View Article
Browsing all 280 articles
Browse latest View live