• Resolved hassan0a

    (@hassan0a)


    Hi,

    Why does the plugin not take the current theme style? I’m using the default WordPress theme (Twenty Twenty-Four), but it’s not in the right display shape. Please check this link.

    https://bit.ly/3NkAqny

    Another thing, the site in RTL, so I noticed that the article?still in the left side.

    hope you can help

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Ajay

    (@ajay)

    The bit.ly link isn’t currently working. But I had seen it a few days back and thought I’d responded.

    I’m not clear what do you mean by not the correct display shape of the site. The plugin doesn’t currently haea n RTL stylesheet but you can add your styles to the settings page. I ran it through RTLCSS.

    I’m going to push through an update in the few days that supports RTL.

    Plugin Author Ajay

    (@ajay)

    I just pushed through an update with the RTL support.

    Thread Starter hassan0a

    (@hassan0a)

    I thought you aren’t going to reply so I deleted it.

    I’m not clear what do you mean by not the correct display shape of the site

    Please check this screenshot, I’m using the default WordPress theme (Twenty Twenty-Four) as you can see header and footer aren’t displayed

    Imgur: The magic of the Internet

    I just pushed through an update with the RTL support.

    Thanks for supporting RTL

    Plugin Author Ajay

    (@ajay)

    I think my last response to you went into moderation and never made it out of the moderation queue!

    I can confirm that I can replicate the issue with the theme. I still don’t know what exactly is that issue but I will check this out.

    get_header() and get_footer() don’t work in block themes and I will find a workaround this.

    Plugin Author Ajay

    (@ajay)

    Been digging into this and I think it’s a lot more complicated and not a simple fix. I’m going to try to work on this to get it to work properly but I’m not 100% sure on timeline i.e. a day or a week or more as FSE themes are too different.

    I think it needs to create an archive file in html and then use that instead of the plugin’s PHP files.

    Plugin Author Ajay

    (@ajay)

    @hassan0a

    I’ve been digging into this. This doesn’t look like a quick fix as I need to also build in some blocks and the entire block template for each custom type.

    I’m committed to get this done though – although it won’t be as quick as I hoped it to be!

    Thread Starter hassan0a

    (@hassan0a)

    I have tried other block themes and got the same result, the get_header() and get_footer() don’t work in block themes.

    Ok, I’m waiting for your update.

    Thanks

    Plugin Author Ajay

    (@ajay)

    Yes it won’t work in a block theme as they don’t have the header or footer files like before.

    Trying to implement this is turning out to be a lot more complicated that I first thought as the new system has been built without thinking about plugins.

    I think you might need to create a specific block template for the post type manually. I’m still digging to find a proper solution.

    Plugin Author Ajay

    (@ajay)

    @hassan0a

    Please let me know if you’re in a position to test this release candidate.

    https://github.com/WebberZone/knowledgebase/releases/tag/v2.2.2-RC1

    This should provide the correct template for block themes like twenty twentyfour. There are limitations of what can and cannot be displayed unfortunately.

    WordPress 6.7 should make it easier for me to register a block template which can be used to customise the site.

    Thread Starter hassan0a

    (@hassan0a)

    Sorry, I just saw your reply, tested it, It’s working without issues on header or footer even in RTL as you can see

    Imgur: The magic of the Internet

    Thanks for that

    I have a question about section when I go to section page I get 404 page “Page Not Found”, is there a way to display all articles on this section on it’s page Like this “/section/general_setting/”

    Plugin Author Ajay

    (@ajay)

    Thank you! That’s great.

    On the 404 for the section page, have you refreshed the Permalinks?

    Thread Starter hassan0a

    (@hassan0a)

    I did now, it’s working, the section page is displayed normally.

    Thanks for helping.

    I’ll deeply test it for a few days, if there is something you need to know I’ll get back to you.

    Thanks again

    Plugin Author Ajay

    (@ajay)

    I’ll push through 2.2.2 so it can be upgraded from the dashboard.

    Once you’ve had a chance to test it, I’d appreciate if you can write a review of the plugin.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.