I'm building my own posts overview layout replacement of the entry.php because i want other information and layout and use it for a custom WPBakery element, now i'm almost done but on the <article> elements are getting some inline styling and classes, i think this is done by a script but cannot find which one.
These inline styling is not coming from a variable in the entry.php because i replaced the file.
Those layouts use the "isotope" library. You can dequeue the js scripts to remove the js code. Let us know what exactly you wish to do so we can respond more accurately.
I found out that the /js/build/init.js and /js/build/nectar-blog.js made adjustments when the class "post-container" and the class "masonry" are used. But loading the init.js in my child theme gave me some error's else where. Since i don't need those classes "esc_attr($masonry_class) and class posts-container" because i'm using my own layout i removed them from my child-theme index.php
I have an other blog post question, i changed the amount of blog post to be shown on the blog page in the Wordpress settings, i want this to be 12 instead of 10. But changing this setting haves no effect. (tested without my modifications)
With my modifications of the index.php (see comment below) and replacing the main post loop template the Infinite Scroll broke. For now i can use pagination.
Are you using the "Blog" Page Element on the blog page or do you have that page set as the "Posts Page" in the WP dashboard ->Appearance -> Reading section ?.
Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.
I'm building my own posts overview layout replacement of the entry.php because i want other information and layout and use it for a custom WPBakery element, now i'm almost done but on the <article> elements are getting some inline styling and classes, i think this is done by a script but cannot find which one.
These inline styling is not coming from a variable in the entry.php because i replaced the file.
Classes: masonry-blog-item animated-in
Styling: position, left, top, z-index
Hey Again,
Those layouts use the "isotope" library. You can dequeue the js scripts to remove the js code. Let us know what exactly you wish to do so we can respond more accurately.
Thanks.
Salient Support Team
Hi Tahir,
I fixed my issue.
I found out that the /js/build/init.js and /js/build/nectar-blog.js made adjustments when the class "post-container" and the class "masonry" are used. But loading the init.js in my child theme gave me some error's else where. Since i don't need those classes "esc_attr($masonry_class) and class posts-container" because i'm using my own layout i removed them from my child-theme index.php
Thanks
I have an other blog post question, i changed the amount of blog post to be shown on the blog page in the Wordpress settings, i want this to be 12 instead of 10. But changing this setting haves no effect. (tested without my modifications)
With my modifications of the index.php (see comment below) and replacing the main post loop template the Infinite Scroll broke. For now i can use pagination.
Hey Again,
Are you using the "Blog" Page Element on the blog page or do you have that page set as the "Posts Page" in the WP dashboard ->Appearance -> Reading section ?.
Thanks
Salient Support Team
I have that page set as the "Posts Page" in the WP Dashboard -> Appearance -> Reading section. I also changed here the amount of post to show
Hey Again,
Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.
Thanks
Salient Support Team