magnaz99 on "[Plugin: Ultimate Wordpress Auction Plugin] Can't scroll auction product description page"

ساخت وبلاگ

Hi~

I use UWAP free version.
I was put it in the auction page via [wdm_auction_listing] and done well.
but the action good's description page is not scroll never.
I wanna know what is problem.

Thanks.

https://wordpress.org/plugins/ultimate-auction/

The page of that issue is right here . http://www.tuyl.com/?page_id=66&ult_auc_id=170

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.

magnaz99
Member
Posted 39 seconds ago #

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.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 319 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 21:04

خبرنامه