Nikodemsky

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 94 total)
Oct 7, 2017 at 2:08 pm
#64247
Member
Nikodemsky
OP

Ok, thank you.

Oct 4, 2017 at 8:16 pm
#64144
Member
Nikodemsky
OP

https://playernotes.pl/pobieralnia/
– try checking here, just type anything in search box.

Oct 4, 2017 at 5:42 pm
#64119
Member
Nikodemsky
OP

Check my first post, there’s link attached to page where problem occurs.

Oct 4, 2017 at 10:22 am
#64072
Member
Nikodemsky
OP

It’s Directory Add-on issue, not WPDM plugin overally.

Oct 3, 2017 at 7:07 pm
#64033
Member
Nikodemsky
OP
This reply has been marked as private.
May 26, 2017 at 7:52 pm
#58337
Member
Nikodemsky
OP

Thank you very much! This should be added to template editor legend at right column.

May 22, 2017 at 4:07 pm
#58115
Member
Nikodemsky
OP

So, with the little help from my friend i managed to create small plugin for additional shortcode, that manages repeater from original Advanced Custom Fields plugin:

add_filter('wdm_before_fetch_template','my_fetch_template',10,1);
function my_fetch_template($vars){
	global $post;
	$post_id = $post->id;
	$some_repeater = get_field('sourcepage', $post_id);
	if ($some_repeater && is_array($some_repeater)) { 
		foreach ($some_repeater as $item) {
			$output .= '<span class="set blue">
				<a class="btn-pbt pri ico" href="'.$item['linkbutton'].'">'.$item['textbutton'].'</a>
			</span>';
		}
	}
	$vars['sht_pg'] = $output;
	return $vars;	
}

– this is actually kind of example i asked for(i mean i can create output by myself, but i had to know where to start with the functions and callback).

Maybe someone in future will find it helpful.

May 18, 2017 at 10:52 am
#58012
Member
Nikodemsky
OP

Could you provide email address for customization enquiry?

May 17, 2017 at 11:03 pm
#57997
Member
Nikodemsky
OP

Ok, thanks for the answer.

So basically, there is no other, “easier” way to pass php code into template file?

May 17, 2017 at 8:41 pm
#57980
Member
Nikodemsky
OP

Ok, just ignore my last post and answer me this, why after using example code:

add_filter('wdm_before_fetch_template','my_fetch_template',10,1);
function my_fetch_template($vars){
//your code here
$vars['tag-name'] = "tag value";
$vars['new_tag'] = callback_function();
return $vars;
}

i’m getting call to undefined function error?

It should return “tag value” in the front end when using [tag-name] shortcode, but instead i’m getting this error on all WPDM pages.

I’m using latest version of WPDM Pro.

May 15, 2017 at 9:14 pm
#57872
Member
Nikodemsky
OP

Thanks, but i have another question regarding that hook – i’m trying to merge:

<?php if( have_rows('source_page') ): ?>

	<?php while( have_rows('source_page') ): the_row(); 

		$buttname = get_sub_field('button_name');
		$buttlink = get_sub_field('button_link');

		?>

        <span class="set blue"><a class="btn-pbt pri ico" href="<?php echo $buttlink; ?>"><?php echo $buttname; ?></a></span>
		
	<?php endwhile; ?>

<?php endif; ?>

with the provided hook(code) and i’m getting error call to undefined function

Can you provide some kind of example with actually used function in that hook?

btw. is there some particular reason for disabling php in page/link templates?

Mar 22, 2017 at 9:48 pm
#55454
Member
Nikodemsky
OP

So i should simply wait for 2.8.7 update, is that correct?

Oct 19, 2016 at 7:11 pm
#50155
Member
Nikodemsky
OP

3.0.0

Oct 17, 2016 at 7:54 am
#50049
Member
Nikodemsky
OP

Ok, thank you. Was it some kind of internal plugin issue?

Oct 15, 2016 at 9:24 pm
#50021
Member
Nikodemsky
OP
This reply has been marked as private.
Oct 15, 2016 at 7:56 pm
#49998
Member
Nikodemsky
OP

Have you tried disabling bootstrap css/js in WPDM options? It tends to mess up some themes.

Jan 27, 2016 at 7:12 am
#39654
Member
Nikodemsky
OP

I understand. But I still will be able to use code you provided in future versions?

Jan 26, 2016 at 1:56 pm
#39599
Member
Nikodemsky
OP

Thank you. That’s what i wanted.

In future version should I still use that code, or should i expect “revised” version of that code?

Jan 25, 2016 at 9:11 pm
#39548
Member
Nikodemsky
OP

Ok, thank you for response and I’m waiting.

Jan 25, 2016 at 3:06 pm
#39513
Member
Nikodemsky
OP
This reply has been marked as private.
Jan 25, 2016 at 7:20 am
#39483
Member
Nikodemsky
OP

I’m still waiting for response – it’s really important matter to me.

Aug 22, 2015 at 4:43 pm
#33114
Member
Nikodemsky
OP

Yes, i found those as well – thing is, that they are not working. Please read my post carefully.

http://playernotes.pl/dema-gier/

+ translated files in attachment

May 7, 2015 at 12:37 pm
#29073
Member
Nikodemsky
OP
This reply has been marked as private.
May 7, 2015 at 10:58 am
#29058
May 6, 2015 at 7:04 pm
#29021
Member
Nikodemsky
OP

Bump. Would appreciate any info on that matter…

also i just looked and there’s still no string for “ASC” main button for WPDM.

Viewing 25 posts - 1 through 25 (of 94 total)