nickg108
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to edit HTML files of my site.Thanks James,
So what PHP file generates the HTML for a blog post page? As mentioned above I’m looking to remove the ‘Click here to log-in message’ from the bottom of the page. I’m using the contango theme.
-Nick
Forum: Themes and Templates
In reply to: Use php to align search box in nav?Yes, I made some changes to had to change where my URL pointed. It’s all cleared up now. And I have and open post regarding changing where the Profile link in my login widjet points that is unresolved. If you’re interesting in taking a look. Here’s yet another support thread of mine.
Forum: Plugins
In reply to: [Login With Ajax - Fast Logins, 2FA, Redirects] Manage profile from front-endNot sure why I can’t get the code backtic’s to work…
Also, it’s the second ELSE that’s causing the error (that else is on line 29).
Forum: Plugins
In reply to: [Login With Ajax - Fast Logins, 2FA, Redirects] Manage profile from front-endThanks for the help carlo.
I now have
`
//Admin URL
if ( $lwa_data[‘profile_link’] == ‘1’ ) {
if( function_exists(‘bp_loggedin_user_link’) ){
?>
<a href=”https://eshop.local/profilo” ><?php echo strtolower(__(‘profile’)) ?></a><br/>
<?php }else{ ?>
<a href=”https://eweedery.com/edit-profile/” ><?php echo strtolower(__(‘profile’)) ?></a><br/>
<?php
}else{
?>
<a href=”<?php echo trailingslashit(get_admin_url()); ?>profile.php”><?php esc_html_e(‘Profile’,’login-with-ajax’) ?></a><br/>
<?php
}
} `but I get the error
“Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /homepages/17/d542404363/htdocs/clickandbuilds/WordPress/MyCMS2/wp-content/plugins/login-with-ajax/widget/default/widget_in.php on line 29”showing on the widget. I tried to find the issue but I’m not experienced enough.
Thanks again.
To clarify: I’m looking to either remove the link saying “Click here to log in” that appears at the bottom of blog posts. Alternatively I would like to change that link to open the menu of Login with Ajax if the process is straightforward. My website is eweedery.com
Thanks
Forum: Plugins
In reply to: [Login With Ajax - Fast Logins, 2FA, Redirects] Manage profile from front-endHello,
I also have this question. When users log in I’d like to redirect the ‘edit profile’ link to a page. What file within the plugins/lwa/ directory needs to be modified? and how would I modify it to get the requested result?
my page is eweedery.com and a sample account is made: “username” and “password” will log you in. the page I want the edit profile link to direct to is “eweedery.com/edit-profile”
thanks for any help.
Forum: Themes and Templates
In reply to: Use php to align search box in nav?Thanks for your help Sensei,
I’ve added the ID as described above as well as your code snippet. I changed
position:absolute;
tofloat:right
. Is there any reason to use one over the other? They seem to look the same, and I was merely experimenting.Regardless, thanks for the help with solving this issue!
Kudos on your kind, clear instructions and accuracy!-Nick
If at all possible I’d rather have the “Click Here to log in” link open the modul for “Login with Ajax”. I’m not very experienced with coding but if this is a fairly simple process I’d be interested in figuring it out.
Thanks again.
Forum: Themes and Templates
In reply to: Use php to align search box in nav?To clarify:
The code from the first post is in my functions.php file of my child theme, and I’m trying to learn how to call on it to give it the float property and padding. I have the Custom CSS plugin, so I’m trying to figure out what needs to be entered in the CSS plugin. My website has a NSFW topic btw (you can probably figure out the subject matter by the URL). Once again, eweedery.comThanks for any help on the topic.
Forum: Plugins
In reply to: [Login With Ajax - Fast Logins, 2FA, Redirects] Edit profile link changeI also have this question.
I would like the link for ‘edit profile’ to redirect to https://eweedery.com/edit-profile/My homepage is eweedery.com and the login box is on the right sidebar. If you’d like to log in, you can use ‘username’ and ‘password’ for credentials.
I have the .php file for Ajax open but I can’t find the code to modify.
Thanks for any help!Forum: Themes and Templates
In reply to: [contango theme] Nav bar appearing over Login pop-upHow would I go about continuing my search for support without bumping the thread? Is it acceptable to delete the thread and create a new one under my themes support section?
Forum: Themes and Templates
In reply to: [contango theme] Nav bar appearing over Login pop-upThanks for the tip Andrew I’ll be sure to do that.
In case you missed the edit I made in my previous post: The code indeed fixed the problem when put into Custom CSS plugin! Thanks a bunch! One other note, how could I right align and add some padding to the search bar in the nav? Thanks.Forum: Themes and Templates
In reply to: [contango theme] Nav bar appearing over Login pop-upI have a child theme and the custom CSS plugin installed. Would you recommend putting that into the custom CSS plugin or actually changing the CSS file in the theme? Is there any difference or reason to do it one way over the other? Thanks for the help Andrew.
EDIT: The code indeed fixed the problem when put into Custom CSS plugin! Thanks a bunch! One other note, how could I right align and add some padding to the search bar in the nav? Thanks.
Forum: Themes and Templates
In reply to: [contango theme] Nav bar appearing over Login pop-upNo, if you click register you get a pop-up. Sorry for the confusion. Thanks.
Forum: Themes and Templates
In reply to: Use php to align search box in nav?does anyone have any help for me? sorry to bump but i still haven’t solved the problem. Thanks! ??