xuv
Forum Replies Created
-
Hey @pfefferle. Not sure why you get a 404, the link works for me. But yes, it’s the official app.
Hello @jordesign
Sure. Here is the code. It’ actually the vanilla All Archives Template from the Twenty Twenty-Three official theme, with just the exclude array being changed to contain a list of post IDs.
<!-- wp:template-part {"slug":"header","theme":"twentytwentythree","tagName":"header"} /--> <!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} --> <main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:query-title {"type":"archive","align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} /--> <!-- wp:query {"queryId":3,"query":{"perPage":9,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[220, 225, 227, 228, 5, 6, 7, 8, 9, 10, 11, 20, 22, 24, 26, 27, 104, 29, 112, 110, 100, 90, 76, 102, 94, 81, 88, 96, 98, 78, 92, 106, 74, 72, 70, 86, 84, 85, 67, 66, 64, 62, 60, 58, 56],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"className":"alignwide"} --> <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":3}} --> <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /--> <!-- wp:post-title {"isLink":true} /--> <!-- wp:post-excerpt /--> <!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d50)"} --> <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> <!-- /wp:post-template --> <!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} --> <!-- wp:query-pagination-previous {"label":"Newer Posts"} /--> <!-- wp:query-pagination-next {"label":"Older Posts"} /--> <!-- /wp:query-pagination --></div> <!-- /wp:query --></main> <!-- /wp:group --> <!-- wp:template-part {"slug":"footer","theme":"twentytwentythree","tagName":"footer"} /-->
Hope this helps
Julien
- This reply was modified 12 months ago by xuv.
Hi @jordesign,
Thanks for the suggestion. I did check that. And the information I’m adding is saved. I did publish the page. I can even log out and come back to it. The list of IDs I added in the exclude array is still there.
It’s as if when in editor mode, it would take it into account, but when on a public page, it would just wipe the array blank.
I kind of solved my problem by adding a specific action in my theme function.php to exclude those articles from the query. So that’s solved my problem. But I still think there is something not working properly or as expected.Forum: Plugins
In reply to: [ActivityPub] How can I test the plugin works?@dj_angola I’m not sure you are replying to my question… or if you are just somehow subscribing to this thread
Forum: Plugins
In reply to: [Mastodon Auto Share] Post generates 2 tootsAmazing, thanks.
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.php?? Running 5.4.38 now. Works like a charm. Thx. ??
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.phpclosing the thread.
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.phpHa. Damn. Totally right. I do have 5.2.17.
It’s shared hosting. And I thought I had it configured for 5.4.
Weird. Have to dig into that now.Thanks for your patience. And great plugin btw (I had it working for a while and loved it.)
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.phpOk, done that (and updated to 1.5.2 before that also)
New error:
Parse error: syntax error, unexpected T_STRING in /home/xuvmwlsp/www/p/wp-content/plugins/wp-to-diaspora/vendor/composer/autoload_real.php on line 23
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.php5.4
Forum: Plugins
In reply to: [WP to diaspora] [1.5.1] Failed to open stream autoload.phpYes. File exists. Tried reinstalling with Wordpess automatic installer. Same problem.