Forum Replies Created
-
Author
-
ACTasarimParticipant
You’re right Kieran. It’s about CSS. I’ve removed the PHP code and added only this CSS:
COPY CODE.buddypress div#item-header div#item-header-content p:first-child { height: 140px; }
It’s working fine at the moment. But I’ll try to make this rule more specific for group pages in order to prevent possible side effects.
Thank you very much.
ACTasarimParticipantWith all my respect, I prefer not to give my admin credentials. I haven’t used any custom code except CSS. Does the code work on your own installation? Thanks.
ACTasarimParticipantThank you for your response. I’ve added the code to my child theme’s functions.php and changed the value (101) according to my needs. But it had no effect. (I cleared my cache.)
November 11, 2017 at 19:05 in reply to: Recommended plugins – class-bulk-upgrader-skin.php on line 154 #179588ACTasarimParticipantNot marked as solutionNovember 11, 2017 at 18:44 in reply to: Recommended plugins – class-bulk-upgrader-skin.php on line 154 #179582ACTasarimParticipantNot marked as solutionACTasarimParticipantWith all my respect, I’d prefer not to give it. Can you see and edit the “Groups Directory” string in your own installation?
ACTasarimParticipantHi Laura. For you the language files for sweetdate should be in languages folder and in sweetdate/languages. For me it should be and work in wp-content/languages/themes. Every time updating a theme or plugin I shouldn’t upload files manually.
I think you guys should immediately solve this problem as recommended by the author of the Loco Translate in order to recommend this plugin for your customers.
For further reference you can check this post: https://archived.seventhqueen.com/forums/topic/mo-file-in-global-languages-directory Thanks
ACTasarimParticipantHere is the reply of the author of Loco Translate:
Loco needs to know (or be able to guess) that the text domain is kleo_framework. It sound like originally it got it wrong. (common problem)
The best way to do this is declare it in style.css using the Text Domain header.
Additionally it’s good to have the POT file named correctly. kleo_framework.pot is the best option. If you don’t have a POT file, just avoid using incorrect namings for template files, like default.po etc..
Also, make sure you don’t have any of the old files with the wrong sweetdate naming conventions kicking around or the plugin will get confused.
If this isn’t your theme, it’s not a good idea to edit it. Pass this info on to the author if this is the case.
ACTasarimParticipantActivity problem (rtbug1.png) only happens when clicking on own Profile link. Not happening when you’re on other people’s profiles…
ACTasarimParticipantSame problem here. After rtMedia update my activity looks like this.
When I deactivate rtMedia, it works normal.
Attachments:
You must be logged in to view attached files.ACTasarimParticipantHi Abe. Thanks for the answer. When I change the name of my file in wp-content/languages/themes from sweetdate-tr_TR.mo to kleo_framework-tr_TR.mo it works fine. You’re right. But now I see nothing to edit in Loco Translate UI.
Loco Translate sees the text domain as sweetdate but the real text domain is kleo_framework. As I understand sweetdate is not compatible with Loco Translate. I’m sure that you guys know better than me but at least you should immediately add some code to your style.css or somewhere else to show your textdomain to Loco Translate because Loco is using folder name for textdomain and you’re recommending this plugin to your customers.
Btw I’m waiting for an answer from timwhitlock (creator of Loco Translate). If I find a solution, I will post it here.
Best regards
ACTasarimParticipantHi. I’m using Loco Translate and keeping my po & mo files in Global languages directory (wp-content/languages/themes) as suggested by Loco. I don’t know why but my localized sweetdate-tr_TR.mo file is ignored by the theme. When I copy the same file to wp-content/themes/sweetdate/languages folder it works fine. Why sweetdate is ignoring WP_LANG_DIR?
ThanksACTasarimParticipantMy other site is not online. I’ve deleted the entire site. At the moment I’m using Sweetdate only on my new site. Do I have to buy a new licence?
ACTasarimParticipantIt worked Andrew 🙂 I had to change all the ’ with ‘ . So for future references the working version of Andrew’s code is:
add_action('after_setup_theme','remove_revslider',100);
function remove_revslider()
{
if(is_user_logged_in()) {
remove_action('kleo_after_header', 'kleo_page_revslider'); // for pages
remove_action('kleo_after_header', 'kleo_home_revslider'); // for home page
}
}
Thank youACTasarimParticipantMaybe it’s a stupid question but I couldn’t get it. The link above explains how to replace hearts in site. What if I want to completely remove the hearts?
ACTasarimParticipantBtw I saw a php code in members-loop.php —-> <?php do_action(‘bp_members_meta’);?>
In order to show this Name Surname style everywhere in my site and make this perfect, can I add
<h2><?php bp_member_profile_data( 'field=Name' )?> <?php bp_member_profile_data( 'field=Surname' ); ?></h2>
styleto members_meta variable?
-
AuthorPosts