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

ساخت وبلاگ


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.


The page of that issue is right here .

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.

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

Please, help me more.

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

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