jerryb2013
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Posts not showing on mobilegot it fixed; it seems there was some mixed content being served, some https, some http images; fixed that so all were https and now we can see the posts
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Posts not showing on mobileThese are the errors that show in the phone
Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers.
XMLHttpRequest cannot load https://devemi.wpengine.com/wp-admin/admin-ajax.php?id=&post_id=34&slug=blog&canonical_url=http%3A%2F%2Fdevemi.wpengine.com%2Fblog%2F&posts_per_page=5&page=0&offset=0&post_type=post&repeater=default&seo_start_page=1&preloaded=false&preloaded_amount=0&order=DESC&orderby=date&action=alm_get_posts&query_type=standard due to access control checks.
[Log] Error: (ajax-load-more.min.js, line 6) Error: Network Error (anonymous function) — ajax-load-more.min.js:6:62757 (anonymous function) — ajax-load-more.min.js:6:61555
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Posts not showing on mobilehmm, we can’t see them on tablets either, ipad, samsung … different networks, different devices
https://klunkmillan.sharefile.com/d-s1c232a2d39fc4ec8b8986e38fb0a3800Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Thumbnail sizesJust tried again, and it worked this time … not sure which step I messed up, but after clearing cache, thumbs are now 200 x 200
thanksForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Thumbnail sizesyes, that’s right; it changes the height, but not the width
<img width="150" height="200" src="https://localhost:10058/wp-content/uploads/2022/07/043-Cindy-Wigfield-1152x1536-1.jpg" class="attachment-blog-thumb size-blog-thumb wp-post-image" alt="" loading="lazy" srcset="https://localhost:10058/wp-content/uploads/2022/07/043-Cindy-Wigfield-1152x1536-1.jpg 1152w, https://localhost:10058/wp-content/uploads/2022/07/043-Cindy-Wigfield-1152x1536-1-225x300.jpg 225w, https://localhost:10058/wp-content/uploads/2022/07/043-Cindy-Wigfield-1152x1536-1-768x1024.jpg 768w" sizes="(max-width: 150px) 100vw, 150px">
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Posts not showing on mobilewe are trying on two different iphones and an android, all browsers, chrome, firefox, safari … we don’t see the posts
strangeForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Thumbnail sizesalso tried adding custom size, add_theme_support( ‘post-thumbnails’ );
add_image_size( ‘blog-thumb’, 200, 200 ));but still got 150/200 rendered
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Thumbnail sizeswell, I had changed the thumb size to 200 x 200 in settings, and update css and media queries … should I try it a different way?
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Posts not showing on mobile? On an actual phone? I can see it in dev tools, but on a device, the posts don’t load; we’ve tested on various phones
Forum: Fixing WordPress
In reply to: Advaced css field not saving classesfigured it out, have to hit Enter ??
Forum: Developing with WordPress
In reply to: editor-stylesthat did it
Forum: Plugins
In reply to: [Front End PM] Ultimate Members Plugin Mobile loginHi, sorry, yes that’s right
Forum: Developing with WordPress
In reply to: editor-stylespush it up to a dev site if that helps, https://dev-adi-cpm.pantheonsite.io/
Forum: Developing with WordPress
In reply to: editor-stylesthanks,tired yours, still can’t get it to work. I have me style-editor.css file in the root of the theme; I added some css to test but nothing changes,
.editor-styles-wrapper { background-color: red !important;}
I’m probably missing something simple; here’s what I have in functions:
//stylesheet for editor function custom_editor_css(){ add_theme_support( 'editor-styles' ); // if you don't add this line, your stylesheet won't be added add_editor_style( 'style-editor.css' ); // tries to include style-editor.css directly from your theme folder } add_action( 'after_setup_theme', 'custom_editor_css' );
- This reply was modified 3 years, 6 months ago by jerryb2013.
I was able to fix by removing the apply filters … thanks
<?php
// get reusable gutenberg block:
$gblock = get_post( 83 );
echo $gblock->post_content;
?>`