if you have issues with the #ActivityPub plugin for #WordPress or curious about how it works.
-
@AdamStuartSmith I plan to write a FAQ today. we had this question a lot over the last few days :)
@pfefferle Great, thanks!
-
@pfefferle Great, thanks!
-
@pfefferle Thanks, looks good, I'll work through it and let you know how it goes! 🙏
-
@pfefferle Thanks, looks good, I'll work through it and let you know how it goes! 🙏
@AdamStuartSmith thanks!
happy for every feedback and/or improvement requests.
-
@AdamStuartSmith thanks!
happy for every feedback and/or improvement requests.
@pfefferle I seem to have stumbled at the first hurdle.
"After adding this code, you'll see a Template Parts option in your WordPress admin under Appearance."
But I don't. I added the new function to a couple of blogs with no apparent change to the Appearance menu. There is a Patterns option but that was already there. Is that the same thing as Template Parts?
-
@pfefferle I seem to have stumbled at the first hurdle.
"After adding this code, you'll see a Template Parts option in your WordPress admin under Appearance."
But I don't. I added the new function to a couple of blogs with no apparent change to the Appearance menu. There is a Patterns option but that was already there. Is that the same thing as Template Parts?
@AdamStuartSmith have you created the parts folder with html templates with the same name, you used in your themes templates?
-
@AdamStuartSmith have you created the parts folder with html templates with the same name, you used in your themes templates?
@pfefferle No, because the first step apparently hasn't worked, so I didn't move onto the next step. More likely, I'm misunderstanding the instructions. Are you saying the Template Parts option in the admin under Appearance will only appear if I create a parts folder (with e.g. FTP), and put the specified html file in it (with e.g. FTP)?
-
@pfefferle No, because the first step apparently hasn't worked, so I didn't move onto the next step. More likely, I'm misunderstanding the instructions. Are you saying the Template Parts option in the admin under Appearance will only appear if I create a parts folder (with e.g. FTP), and put the specified html file in it (with e.g. FTP)?
@pfefferle So, I created the parts folder containing the html file as suggested. There's still no Templates Parts menu option immediately under Appearance, but if I go to Patterns, there are now options 'All Template Parts' and 'General'. This matches the screenshot in the instructions, but differs to the text in your instructions. Instruction say Appearance > Editor > Template Parts; but (for me at least) it is Appearance > Patterns).
-
@pfefferle So, I created the parts folder containing the html file as suggested. There's still no Templates Parts menu option immediately under Appearance, but if I go to Patterns, there are now options 'All Template Parts' and 'General'. This matches the screenshot in the instructions, but differs to the text in your instructions. Instruction say Appearance > Editor > Template Parts; but (for me at least) it is Appearance > Patterns).
@pfefferle I also added the php snippet to the post template as per the final step. But no block appears on the front end. I put a little test <p>position for fediverse block</p> alongside the php snippet and that appears on the front end, so the location is correct.
So, no idea what I'm doing wrong, I've double checked every step. The site I'm trying to set it up on is https://monstertoyblog.com
-
@pfefferle I also added the php snippet to the post template as per the final step. But no block appears on the front end. I put a little test <p>position for fediverse block</p> alongside the php snippet and that appears on the front end, so the location is correct.
So, no idea what I'm doing wrong, I've double checked every step. The site I'm trying to set it up on is https://monstertoyblog.com
@pfefferle A question about the trouble shooting note in the instructions: "Make sure you've created and saved the template part in the Site Editor". Is the "Site Editor" this interface shown in the screenshot below (I get there via Appearance >Patterns)? I think it is, because part of the url says site-editor.php, but that's not obvious at all. And if it is the Site Editor, that's the saved template part above post_footer, right? Looks setup correctly?
-
@pfefferle A question about the trouble shooting note in the instructions: "Make sure you've created and saved the template part in the Site Editor". Is the "Site Editor" this interface shown in the screenshot below (I get there via Appearance >Patterns)? I think it is, because part of the url says site-editor.php, but that's not obvious at all. And if it is the Site Editor, that's the saved template part above post_footer, right? Looks setup correctly?
@AdamStuartSmith yes! But it will only show up if the post you added it to has likes or shares. That said, it will not work on the frontage, only on singular posts.