Forum Replies Created

Viewing 15 replies - 1 through 15 (of 2,214 total)
  • I just remembered that a feature tentatively scheduled for 6.4 is very relevant here. You may be interested to check out this issue.

    Hey, I haven’t done this for a while, but the following manual process provide a simple migration:

    1. Ensure local and remote WordPress versions match.
    2. Ensure you have the same themes / plugins installed in each location. You can upload the contents of the wp-content directory from local to remote to achieve this.
    3. Export content from the local environment via Tools → Export.
    4. Import content to the remote environment via Tools → Import.

    That will take care of content / themes / plugins.

    For a more comprehensive experience that includes things like settings and users you’ll need to export/import the entire database using a tool like PHPMyAdmin. It’s probably easier to use a plugin. Did you try posting in the All-in-One WP Migration support forum?

    Hey,

    By ‘header’ do you mean the website header containing the site title, logo, navigation, etc? Unfortunately it’s not really possible to do this with blocks just yet. Instead you’d need to create a custom plugin to apply the page’s Featured Image to the header as a background. Code like this should work.

    If you just want to display a different image on each page, that would best be done by editing the “Pages” template and adding the “Post Featured Image” block.

    If you could be a little more explicit in exactly what it is you’re trying to accomplish it would be easier for folks to assist.

    Thanks, James.

    Hey,

    It’s not possible to filter the Comment Edit Link block this way.

    Instead you can create dedicated blocks for trashing / marking comments as spam. This has the advantage of allowing you to place those blocks wherever you like.

    There’s a command line tool in Gutenberg for doing this. You can view a video walkthrough for that here. Or browse the source code here.

    James

    Forum: Fixing WordPress
    In reply to: permalink problem

    Hey,

    Judging from the &preview=true part of the URLs you shared it looks like you may be previewing, is that correct?

    Previews will always use the ‘plain’ or ‘default’ permalink structure. If you publish the document and view it on the frontend it should have the correct permalink structure.

    I hope that helps.

    James

    Hey,

    Is it possible that the software is displaying the page id rather than the title?

    What does your permalink structure look like (check in Settings → Permalinks)? It seems unlikely, but if that is set to “Plain” it might affect things.

    If you can share which software you’re using it will be easier for folks to help out.

    James

    Hey.

    Sorry I should have been more specific. First you need to create a new custom template in the site editor. Here’s how to do that:

    1. Open Appearance → Editor
    2. Click Templates
    3. Click the + button
    4. Choose Custom template, give the template a name, then click Create
    5. You’ll be taken to the full screen editor. If a modal appears with design suggestions you can skip it.
    6. Paste in the blocks from before and save the template.

    Next, exit the site editor and open a page you want to apply this design to. In the Summary Panel of the settings sidebar you’ll find a template section. There you can switch the template to the one you just created. Save and view the page on the frontend – it should have the new design ??

    James

    Edit: I forgot to mention, if the page doesn’t have a featured image, you will just see an empty template on the frontend, so don’t forget to add one ??

    • This reply was modified 1 year, 3 months ago by James Koster.

    Hey.

    The “Posts page” setting tells WordPress when to load the blog template instead of a standard page. Any content added to the page originally will be ignored. This can be confusing if you already created the page, added a bunch of blocks, then set the posts page afterwards.

    It’s important to set this correctly though, so that features like pagination work correctly when you add more posts.

    If you’re using a block theme it’s easy to edit the blog template:

    1. Open the site editor (Appearance → Editor)
    2. Click Pages
    3. Click your blog page (it should be the second item in the list)
    4. Click the preview frame to begin editing

    Good luck!

    Hey,

    You can use a combination of the Cover and Title blocks to achieve this.

    Create a new empty custom template and insert the following:

    <!-- wp:cover {"useFeaturedImage":true,"dimRatio":50,"minHeight":100,"minHeightUnit":"vh","isDark":false,"layout":{"type":"constrained"}} -->
    <div class="wp-block-cover is-light" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"textAlign":"center"} /--></div></div>
    <!-- /wp:cover -->
    
    <!-- wp:post-content /-->

    Customise and add any other design elements you need (like a header and footer). Then apply this template to any page you want to have a full-screen featured image. If you’d like to apply this effect to all pages, then you should edit your “Pages” template.

    I hope this is helpful!

    James

    I think that for all intents and purposes Blockbase themes (and other “universal themes”) are block themes. They just provide access to the Customizer as well. So it’s basically a question of whether you still want to use that, or if you feel ready to dive in to the Site Editor 100%.

    It’s impossible to say for certain, but since these themes are Automattic projects they will probably be around for a long time to come ??

    > Many thanks for your time James!

    You’re welcome ??

    Hey,

    Sorry, I’m not entirely sure what it is you’re trying to do?

    You say the New page button doesn’t work in the menu editor, what happens when you click it? It should publish the new page and add it to your menu at the same time.

    > This, because my landing page exists out of multiple pages.

    Do you mean that you want to create a single page that is split in to multiple sections, and that only one section should be visible at a time? Kind of like a slideshow of content? I don’t think there’s a core block that does this, but there are many plugins you might try ??

    Hey,

    I can confirm that these fields are not obsolete ??

    Alt text appears in the markup as you discovered.

    The Title and Description will appear when the image you inserted is configured to link to its attachment page.

    If a caption is added to the image details in the media library, that text will be used to autofill the caption when the image is inserted in a post or page. This is not however linked, so if you add the caption after inserting the image, the caption will not be included. You’d need to update the post/page manually.

    Forum: Fixing WordPress
    In reply to: Center Widget

    Hey,

    I just took a look at your site and it seems to be correctly aligned. Here’s a screenshot of what I see: https://cloudup.com/c2ETFC8Dwfa

    Perhaps this was just a cache issue? If you’re still seeing the issue let me know which browser you’re using and we can investigate further ??

    Hey,

    It seems to be working just fine for me ?? Here’s a screenshot of what I see: https://cloudup.com/cyo3uSqzc-J

    > If anyone knows of any good free themes – please let me know about these too!

    I really like the new default theme Twenty Twenty-Two because it is entirely block based and enables you to make use of the new site editing features in 5.9.

Viewing 15 replies - 1 through 15 (of 2,214 total)