-
Author
-
October 8, 2013 at 06:34 #3974delcusParticipant
Hi,
First of all let me say, you’ve done an excellent job on this theme and judging by this forum, you’re support is fantastic as well, thanks and keep up the great work 🙂
I just have a small issue:
I’m trying to edit the general-login-modal.php file and any changes I make do not seem to be showing up (i’m trying to change wording in the modal). I have the child theme activated and copied the page parts folder to it to modify but that didn’t work. So I tried to modify the parent theme, that didn’t work either. I seem to have this problem on many files, when I modify the .php it doesn’t change the site in either parent or child themes.
Any help would be greatly appreciated. Thanks.
October 8, 2013 at 07:38 #3975delcusParticipantAlso, I’m trying to to get rid of the “add friend” “private message” and “public message” text/buttons/features from the profile pages. I couldn’t find any posts on here that explained it clearly. Any ideas? Thanks.
October 8, 2013 at 18:54 #4013SQadminKeymasterHello and thanks for the kind words.
Do you have a caching plugin? You must edit the files via FTP or something similar that changes the file on the hosting server.
Normally you should have activated the sweetdate-child theme and copy the file you want to edit in the exact same location.If you want to get rid of those features, you can disable those specific Buddypress components from Settings -> Buddypress.
After that you still need to add this code to disable the buttons for non-logged in users. Add it to sweetdate-child/functions.phpCOPY CODEadd_action('after_setup_theme','kleo_remove_buttons'); function kleo_remove_buttons() { //non-logged in users remove_action('kleo_bp_header_actions', 'kleo_bp_member_buttons'); // Friends button remove_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 ); // Activity button remove_action( 'bp_member_header_actions', 'bp_send_public_message_button', 20 ); // Messages button remove_action( 'bp_member_header_actions', 'bp_send_private_message_button', 20 ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 9, 2013 at 03:52 #4050delcusParticipantHi,
Thank you for your prompt reply. I don’t believe I have caching plugin installed – I’m not sure what that is, how would I check this? I am using an FTP from my hosting server and the site is live at the moment.
I have activated the child theme but when I go to copy the file I want into the exact same location, the child theme seems to have less folders in it to the parent theme (however, I do place it in exactly the same location); for example if it was in wp-content > languages in the parent, I would place it in wp-content > languages in the child (if the folder is available, if not I copy the whole folder over)
Is this right?
Thanks.
October 9, 2013 at 12:46 #4068SQadminKeymasterHi,
By default sweetdate-child theme has only the style.css where you can add your own custom css and the functions.php where you add your custom php code.
If you want to change a file template located in wp-content/themes/sweetdate for example header.php you just copy it to sweetdate-child and modify it there.
If don’t know why you are referring to wp-content > languages.Files that are copied to sweetdate-child are from sweetdate theme.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2013 at 07:36 #4170delcusParticipantHi,
Thanks for your response, I was referring to wp-content just > languages just as an example. I have been doing what you have mentioned in the above answer but sometimes it works and sometimes it doesn’t, it seems to be a little bit temperamental sometimes.
Also, just one more thing, when I try to use the modal login in Internet Explorer by clicking “login” in the top right hand corner, everything just freezes, everytime, the whole screen just goes faded grey (with the site in the background but no functionality , you have to close the browser and type the web url in and start over). Not sure if this is a glitch in the theme or internet explorer. Have you had anyone else mention this happening to them, if so is there a remedy?
Thanks for all your help.
October 12, 2013 at 01:50 #4227SQadminKeymasterHi, That is not normal 🙂 It should work or not
Also tested the IE and worked fine and haven’t heard this from other usersCheers
GAFHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 13, 2013 at 06:11 #4311delcusParticipantHi,
The issue with internet explorer is still a problem, not sure what to do, it just keeps freezing. Also I pasted in the above code into the functions.php in both parent and child (as just putting it into child didn’t work) and nothing has happened. Is there any particular place within the functions.php I need to put it?
October 14, 2013 at 18:22 #4363SQadminKeymasterHi, I modified the above code to work whether you are logged in or not. Try again with it. You should add it to sweetdate-child/functions.php and you need to have the child theme activated.,
Give more details about IE, what version, what OS, a link to your site.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.