heymATIN
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] LoginIt works with Twenty Sixteen. I am using this code in my header so sometimes it shows me that I am logged in and sometimes it does not, it’s very random it has no real pattern.
<?php if (is_user_logged_in()) { ?> <li> <a href="<?php echo esc_url(home_url('/')); ?>account" rel="nofollow"> <?php echo esc_html($current_user->display_name); ?></a> </li> <li> <a href="<?php echo wp_logout_url(); ?>" title="Log in"><i class="fa fa-sign-out" aria-hidden="true"></i><?php _e('Log out') ?></a> </li> <?php } else { ?> <li><a href = "<?php echo wp_login_url(); ?>" title = "Logout"><i class ="fa fa-sign" aria-hidden = "true"></i><?php _e('Log in') ?></a></li> <?php } ?>
Is it possible that something in the functions is messing it up ?
Forum: Plugins
In reply to: [Plugin: polylang-slug AND Polylang]solved/worked on
Forum: Plugins
In reply to: [Polylang] Custom post typeIf I try the script from https://wordpress.syllogic.in/2014/08/going-multi-lingual-with-polylang/
I get this error:
Cannot redeclare get_default_language_posts() (previously declared in ….)what should I do? ;3
Forum: Plugins
In reply to: [Plugin: Custom Post Type UI] Linking PostFound the solution:
<a href="<?php the_permalink(); ?>">This is a link</a>
Forum: Fixing WordPress
In reply to: UmlautI found a plugin which is older but still works with 4.2.2
Thanks Ulimate MEmber for the quick reply!
It is not a problem with Polylang.
It’s a prbolem with the costum permalink
as the guy also above me pointed out:It was the permalink settings. It didnt like the “day and name” option but works fine with the default.
As soon as the permalink is different than the default the page cannot be found. Maybe you can find something there!
I have the exact same problem.. I was searching a long time to find the problem..
It is the permalinks. I am using polylang plugin for having a multilingual site.. I cannot deactivate that!
aso for example to make it work it has to look like this:
example.com/user/admin/as soon as you have a different link , (like I have)
example.com/en/user/admin/en for english, de for german, es for spanish etc.
It cannot find anything.. I really would love to use this plugin but I have no idea what I can do here..
To find the problem took me about 8 houres xD with multiple installations..
I really hope there is a way to fix it, cuz I cant just turn of a core plugin I am using.