preetam
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: how to use offset=1 in secondary-postthanks for reply sir i want to skip my latest post (only one) from here
if ( $i == 1 ) : ?> <div class=”secondary-post”> <?php endif; ?>
but i don’t know where i can use offset=1 from secondary-post div
No I have not updated any plugin and theme, and I do not know about host, sir, is this hacker attack?
is it dangerous for my site?- This reply was modified 6 years, 7 months ago by preetam.
Forum: Hacks
In reply to: how to store value in $xyzThank you @bcworkz sir now working ??
Forum: Hacks
In reply to: how to store value in $xyzsir i am using ajax for for retrieve data-affiliate attribute value i am using this code but its not working we put this code in footer.
function show_mymodal(id){ jQuery.ajax({ url: ajaxurl, data: { id: id, affilate: jQuery('.btn').attr('data-affiliate'), action: 'show_post', }, success: function(response){ if(response['error'] == '1'){ jQuery('#modalTitle').html("Error"); jQuery('#modalBody').html("No post found! Sorry :("); } else { jQuery('#modalTitle').html(response['post_title']); jQuery('#data-affiliate').html(response['data-affiliate']); } jQuery('#mymodal').modal('show'); }
so can you plaese correct my code i lost my two day for doing this please help me sir last time
my big problem is i am opening modal in new tab so i think javascript not work. thank you.Forum: Hacks
In reply to: how to store value in $xyzsir @bcworkz i just need to value of data-affiliate=”<?php echo store_url(); ?>”. and then send data-affiliate value to bootstrap modal.
store_url();
is my function for every post its only add or remove affiliate id.example suppose its my first post button see data-affiliate
<a href="#" class="btn" target="_blank" data-id="<?php the_ID(); ?>" data-affiliate="https://www.ads-software.com?affid=@bcworkz">click here </a>
its my second post button see data-affiliate
<a href="#" class="btn" target="_blank" data-id="<?php the_ID(); ?>" data-affiliate="https://facebook.com?affid=@bcworkz">click here </a>
so i just need to data-affiliate value and display it to bootstrap modal
sir title is working fine but data-affiliate not working.:(
$external = $_GET['data-affiliate']; wp_send_json( array('post_title' => $post->post_title, 'data-affiliate' => $post-> $external)); }
- This reply was modified 8 years, 2 months ago by preetam.
Forum: Fixing WordPress
In reply to: how to open bootstrap model in new tabneed like this https://demo.powerthemes.club/fbar/?theme=CouponXL when user click on show coupon its open in new tab
ok sir thanks. but my suggestion please add captcha in your next version its not difficult for you its easy but its helpful for avoid server blocking problem.
ya receiving verification link manually when we send it with my admin panel. but i am not using my admin panel daily. so it means user will always waiting for my confirmation link.
we have install rainmaker and follow the instruction
Install Email Subscribers plugin on your website. (It’s FREE)
Create a Rainmaker form
Select the Form Design
Configure the Form Action. Select Email Subscribers from the drop down.
and put the shortcode but user not receive verification link when user subscribe through rainmakerForum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] how to diaplay spreadsheets datathanks sir ??
one more help please i wan’t to store age value(only row first cell C ) in $myage how to store please tell mehe say please add capcha on your form but i am not using any form when we send newsletter with your plugin within 1 second got msg your ip is block for generating spam hostingraja.in
Forum: Fixing WordPress
In reply to: pagination not working in page blogthanksss vtxyzzy i am using this code ‘paged’=>$paged, and its working thankuuu
query_posts(
array(
‘paged’=>$paged,
‘post_type’ => ‘post’,
‘posts_per_page’ => 6)
);