• Resolved philw123

    (@philw123)


    I really like the potential of this plugin,however I’m encountering a couple of issues:

    1/ I want to customise the cards it generates. The plugin description says that the template is extendable but I can find no instructions on how to do this.

    2/ The Settings page is blank. There is nothing there other than a tab for General and a tab for Third Party.

    I hope some guidance can be offered because this looks like a great plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Rudy Susanto

    (@rsusanto)

    Hi @philw123,

    Thank you for your kind words. Yes, I realized that I have not created documentation for customizing the card yet. I will create it soon in the coming days.

    For now, there is no setting to easily changes the card template yet. However, with some degree of PHP and WordPress scripting knowledge, you can easily replace the default template file with the one you created. Here is an example of how to replace the template file:

    
    function my_embed_card($file, $name) {
      if ($name === 'embed-content') {
        $file = '/path/to/your/template/file.php';
      }
      return $file;
    }
    add_filter('embed_extended_template', 'my_embed_card', 10, 2);
    

    As for the second question, I can’t say what is the problem without looking at the site itself. To check if there is a conflict with other plugins/themes, try to temporarily disable all other plugins and use a default theme (e.g., Twenty Twenty). If the settings page not blank anymore, try to enable it one-by-one until the problem happens again.

    I hope it answers your questions.

    Thread Starter philw123

    (@philw123)

    This is a big help, thank you. When I get the opportunity I’ll check for conflicts with other plugins.

    Thanks again.

    I’m also having the second problem. The setting page is blank. The console shows:

    
    GET https://example.com/wp-content/plugins/embed-extended/assets/js/admin.js?ver=5.6 net::ERR_ABORTED 404 (Not Found)
    

    What’s more, the embedding isn’t working. It shows the same error in the block editor. I’ve disabled all other plugins and using the default theme.

    Plugin Author Rudy Susanto

    (@rsusanto)

    Hello @chenmantous,

    Thank you for reporting the problem.

    Could you let me know a bit more detail about the environment on your site? For example are the WordPress version, PHP version, Apache/NGINX/LiteSpeed, as well as the browser (Chrome/Firefox/etc) being used to open the page.

    Plugin Author Rudy Susanto

    (@rsusanto)

    Hi @philw123 and @chenmantous,

    I think I have found the problem. Some files seem to be missing on the version 1.2.2 update, which causes some issues like the missing settings page.

    I have just released a new version update (1.2.3) that added those missing files. Please update the installed plugin on your site to the latest one to fix the problem.

    Thank you.

    Thread Starter philw123

    (@philw123)

    Sorted. Top job, Rudy.

    @rsusanto Never mind. I think it’s because the page I put in doesn’t support to be embedded.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Settings page missing?’ is closed to new replies.