pullober

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
Jul 21, 2017 at 3:59 pm
#60824
Member
pullober
OP
This reply has been marked as private.
Jul 18, 2017 at 6:40 pm
#60653
Member
pullober
OP
This reply has been marked as private.
Jul 13, 2017 at 5:38 am
#60377
Member
pullober
OP

this is great! thanks a lot!
now i can finish my work!

have a nice day,
stefan.

Jul 12, 2017 at 6:29 am
#60301
Member
pullober
OP

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.

Jul 10, 2017 at 10:50 am
#60217
Member
pullober
OP

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);
Jul 8, 2017 at 11:43 pm
#60195
Member
pullober
OP
This reply has been marked as private.
Jul 8, 2017 at 6:21 pm
#60182
Member
pullober
OP
This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)