Hi magnaz99,
It seems there is some conflict with currently activated theme.
Can you please try adding below code in function wdm_auction_listing() present in ultimate-auction/auction-shortcode.php
$post_type = get_post_type();
if($post_type == 'ultimate-auction'){
echo "<style>body {overflow:visible;}</style>";
}
Hope this works.
Thanks for youy reply.
I insert your code into auction-shortcode.php like this.
function wdm_auction_listing() {
// Add by magnaz99 .. 2016.05.19.
$post_type = get_post_type();
echo $post_type;
if ($post_type == ‘ultimate-auction’) {
<style> body { overflow:visible; } </style>
}
But, this is not working properly. It makes some error like this.
root@ubuntu:/var/www/html/wordpress/wp-content/plugins/ultimate-auction# php auction-shortcode.php
PHP Parse error: syntax error, unexpected ‘<‘ in /var/www/html/wordpress/wp-content/plugins/ultimate-auction/auction-shortcode.php on line 20
root@ubuntu:/var/www/html/wordpress/wp-content/plugins/ultimate-auction#
Please, help me more.
Please use below code –
$post_type = get_post_type();
if($post_type == 'ultimate-auction'){
echo "<style>body {overflow:visible;}</style>";
}
inside wdm_auction_listing() function.
The problem is at <style> body { overflow:visible; } </style> in the code used by you. Also, no need to add echo $post_type;
Thanks !!!
Thanks for your reply.
But, although I was put the code like below;
function wdm_auction_listing() {
// Add by magnaz99 .. 2016.05.19.
$post_type = get_post_type();
if ($post_type == 'ultimate-auction') {
echo "<style>body {overflow:visible;}</style>";
}
Unfortunately, this is not working properly.
thanks and waiting your another advice…. Have a nice weekend!
Plugin Author
Nitesh
(@nitesh_singh)
Hi,
Though we have tried to see your site and fix it by open means, could you please write to nitesh[at]auctionplugin.net so that we could discuss it further.
Regards,
Nitesh
Thank you for your help.
By the way, I was change theme because of that problem. After that, I works perfect. I think that problem may be cause of conflict with theme.
Thank you very much.
And I hope use pro. Version. See you again. Bue~