Skip to content
Public Ticket #931

Page personalization - not loading

Conversation thread

rajuldz replied

Customer Reply

Great!

\

Really thank You alot! You are very good support! :)

\

Best Regards!
Konrad

rajuldz replied

Customer Reply

Great news, Thank You!

One question. It's not be overwritten after theme update?

PenciDesign replied

Staff Reply

Hi,

I found the issues.

Seem Polylang can't working together with pre_get_posts exclude category.

If you un-check on Customize > Featured Slider Options > Exclude All Posts In Featured Category In Latest Posts on Homepage - you can see it work fine.

But, I have another way to fixed it by replace this code to this code:

\
$current_lang = get_bloginfo('language');
$lang_query = substr( $current_lang, 0, 2 );\ if ( $query->is_home() && $query->is_main_query() ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => 'category',
'field'    => 'slug',
'terms'    => $exclude_array,
'operator' => 'NOT IN'
),
) );
$query->set( 'lang', $lang_query );
}

I did it help you by do way 2 - You still can keep the options for exclude posts.

Now, it's working fine.

Best Regards,

PenciDesign

\

rajuldz replied

Customer Reply

Hi,

Yes, I was trying, but nothing change.

PenciDesign replied

Staff Reply

Hi,

Have you try deactivate all plugins ( except Polylang ) and check it again?

Best Regards,

PenciDesign

rajuldz replied

Customer Reply

I'm really sorry,


My Client is very impatient, and He deleate this posts which I prepared. He want to show new view of page his friends... Can You check this now? I prepare agin the same posts + normal post. It's happened only in PL version.

PenciDesign replied

Staff Reply

Hi,

I see your site fine now. Seem you found what's the issue.

Best Regards,

PenciDesign

rajuldz replied

Customer Reply

I add print screen to show what's happened

rajuldz replied

Customer Reply

This problem is solved, but I found another :( I add new video post in 2 languages, and it show at PL website in 2 versions, but in EN website show good only in one language. Pls help me, as soon as posible. Premiere was planed for yesterday :(

rajuldz started the conversation

Conversation Start

Hi,


After I move website to destination domain i can't personalize site. All the time page is blank and on header display "Loading...". Also i have issue with speed loading.

Want to join this conversation or access attachments? Sign in first.