Forum Replies Created
this is great! thanks a lot!
now i can finish my work!
have a nice day,
stefan.
ok.
is ist possible to create my preferred behaviour maybe in a customization?
1.) i want my preferred template to be the default-template instead of link-template-calltoaction3.php
2.) i only want to display my two templates in the link-template selector
3.) my templates should be clearly named (instead of 543432…)
these are my whishes 🙂
these modifications are necessary because the website is going to be filled by people who need the process as easily and straight ahead as possible.
i could do this in modifying the core files of the plugin myself, but would like to have working updates…
thank you for your feedback!
liebe grüße, stefan.
is it line 512 in wpdm-functions.php?
any chance to override this behaviour without loosing it when the plugin gets updatet?
and is it possible to just insert the code for the custom link-template?
liebe grüße, stefan.
function wpdm_embed_category($params = array('id' ► '', 'operator' ► 'IN' , 'items_per_page' ► 10, 'title' ► false, 'desc' ► false, 'order_field' ► 'create_date', 'order' ► 'desc', 'paging' ► false, 'toolbar' ► 1, 'template' ► '','cols'►3, 'colspad'►2, 'colsphone' ► 1))
{
extract($params);
$fnparams = $params;
if(!isset($id) || $id =="") return;
if(!isset($items_per_page)) $items_per_page = 10;
if(!isset($template)) $template = 'link-template-calltoaction3.php';
if(!isset($cols)) $cols = 1;
if(!isset($colspad)) $colspad = 1;
if(!isset($colsphone)) $colsphone = 1;
if(!isset($toolbar)) $toolbar = 1;
$taxo = 'wpdmcategory';
if(isset($tag) && $tag==1) $taxo = 'post_tag';
$cwd_class = "col-md-".(int)(12/$cols);
$cwdsm_class = "col-sm-".(int)(12/$colspad);
$cwdxs_class = "col-xs-".(int)(12/$colsphone);