Hi @alinbirau thank you for installing the debugging plugin.
You can see the information if you add the debug key to the URL as a query argument.
For example https://geeks.eurogsm.ro/category/articole/?scfm_debug=7b4f954b
Checking the options of Specific Content For Mobile I see this:
"Options: Array
(
[last_version] => 0.1.5
[mobile_ids] => Array
(
[0] => 23405
)
[desktop_ids] => Array
(
[0] => 23376
)
[other_meta] => Array
(
[metaboxes] => synchronized
[eos_fdp] => Mobile versions have their own metadata
)
)
When you visit the posts archive on mobile, SCFM removes all the posts having the ID included in the array “desktop_ids”.
In your case the desktop version of https://geeks.eurogsm.ro/top-10-lansari-de-smartphone-uri-si-gadgeturi-din-luna-octombrie/ has the ID 23376, the mobile version of that post has the ID 23405.
In your case, the post-ID 23405 is not shown on the blog page
In the code of SCFM there is only one single function where it removes the desktop IDs when you visit the blog on mobile. They are a couple of lines of code.
if( isset( $opts['desktop_ids'] ) && !empty( $opts['desktop_ids'] ) ){
$query->set( 'post__not_in',$opts['desktop_ids'] );
}
The code above runs only on a mobile. The array $opts[‘desktop_ids’] has only the ID 23376 in your case. And this is right. So, it’s impossible that SCFM is removing the ID 23405.
I see that the plugin with the slug td-mobile-plugin builds the posts grid.
I suggest you disable that plugin and see if you still have this issue.
I also see you have Freesoul Deactivate Plugins. So you could check the blog page in preview mode disabling all plugins but SCFM and check if you still have this issue.
You can watch this video for more details: https://freesoul-deactivate-plugins.com/freesoul-deactivate-plugins/.
In your case check every time inspecting elements and clicking on the mobile simulation button.
I don’t think this issue is caused by SCFM, but never say never. If after your checks you don’t find anything we can investigate deeper.
-
This reply was modified 4 years ago by Jose.