diff --git a/fediembedi-settings-form.tpl.php b/fediembedi-settings-form.tpl.php
index e962f27..c5999d3 100644
--- a/fediembedi-settings-form.tpl.php
+++ b/fediembedi-settings-form.tpl.php
@@ -13,8 +13,8 @@ define("FEDI_CONNECTED",isset($account) && $account !== null);
">
- Mastodon/Pleroma
- Pixelfed
+ Mastodon/Pleroma
+ Pixelfed
diff --git a/fediembedi.php b/fediembedi.php
index 352d193..529eff9 100644
--- a/fediembedi.php
+++ b/fediembedi.php
@@ -108,7 +108,7 @@ class FediConfig
break;
case 'Pixelfed':
wp_enqueue_style( 'bootstrap', plugin_dir_url( __FILE__ ) . 'assets/bootstrap/css/bootstrap.min.css', array(), '4.4.1' );
- wp_enqueue_style( 'pixelfed', plugin_dir_url( __FILE__ ) . 'assets/pixelfed.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'pixelfed/pixelfed.css') );
+ wp_enqueue_style( 'pixelfed', plugin_dir_url( __FILE__ ) . 'assets/pixelfed.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'assets/pixelfed.css') );
//https://css-tricks.com/lozad-js-performant-lazy-loading-images/ lazyloading for background images
break;
default:
@@ -167,7 +167,6 @@ class FediConfig
$client = new \FediClient($instance);
$redirect_url = get_admin_url();
- $instance_type = get_option('fediembedi-instance-type');
switch ($instance_type) {
case 'Mastodon':
$auth_url = $client->register_app($redirect_url);
diff --git a/templates/fediembedi-mastodon.tpl.php b/templates/mastodon.tpl.php
similarity index 99%
rename from templates/fediembedi-mastodon.tpl.php
rename to templates/mastodon.tpl.php
index c91e4a3..c7b305c 100644
--- a/templates/fediembedi-mastodon.tpl.php
+++ b/templates/mastodon.tpl.php
@@ -15,7 +15,7 @@