Forum Replies Created
-
AuthorPosts
-
misura
MemberNever mind, just a timing issue. Purchase was in Dec 2014, bill showed up on Jan 1, 2015.
March 28, 2016 at 12:00 pm in reply to: Change Two Column Layout To Content-Sidebar Layout on Minimum Pro Home Page #182382misura
MemberDid you need this?
misura
MemberDoes Studio Press need to better indicate what the layout changes?
Do they also need to have a setting for the home page so we don't have to hack the code?misura
MemberMortenK
The .mo's are already there.
No cache, so nothing to disable/flush.
I tried copying the files into the them's language folder, still no dice.
What am I doing wrong?
October 13, 2014 at 11:37 pm in reply to: Lifestyle-Pro: Title before image on homepage (featured post widget) #127719misura
MemberSure. The code I wrote works as expected. Where I put it, that makes me a little nervous.
I went to a wordpress meetup today and they said it is possible to make a grandchild theme, so that might be the answer about where to put my code.October 12, 2014 at 10:40 am in reply to: Lifestyle-Pro: Title before image on homepage (featured post widget) #127581misura
MemberIt works so i'm not sure why you think it won't.
featured-post-widget.php
October 12, 2014 at 8:24 am in reply to: Lifestyle-Pro: Title before image on homepage (featured post widget) #127569misura
Memberif ( $instance['image_size'] === "home-large" ) {
$this->show_the_title( $instance );
$this->show_the_image( $image, $instance );
} else {
$this->show_the_image( $image, $instance );
$this->show_the_title( $instance );
}And I moved the code that displays the 'show_title' and 'show_image' to their own functions.
October 12, 2014 at 12:15 am in reply to: Lifestyle-Pro: Title before image on homepage (featured post widget) #127543misura
MemberYou're right, i didn't follow all of the instructions.
However, I'm confused about how I thought child themes work.
I thought I could customize the code in the child theme and that would override the parent theme. But I guess not.This still seems to have the problem with upgrades.
If Lifestyle-Pro is updated, is my features-post-widget.php safe? how about functions.php?
If Genesis is upgraded, it might not break my code (since I've made a copy in Lifestyle-Pro) but I won't get any new features that get added to Genesis, without having to re-copy the code and make my updates.I guess what I really need to do is make the widget items draggable.
October 11, 2014 at 11:42 pm in reply to: Lifestyle-Pro: Title before image on homepage (featured post widget) #127541misura
Memberbraddalton
I tried copying the
genesis/lib/widgets/featured-post-widget.php
to
lifestyle-pro/lib/widgets/featured-post-widget.php
But editing the lifestyle-pro file did nothing.
I was able to make the change in genesis/lib/widgets/featured-post-widget.php itself, but that is not going to work with an update. (Hell, Lifestyle-pro being a 'child' of genesis makes me wonder if any changes are safe?)
However, it also failed because it changed all of the widgets, not just the first one.I looked at the plug, it doesn't allow you to change the order of the items.
Looks like I can detect the size of the image and use that to move the title or not.
Still not happy about editing the genesis/lib/widgets/featured-post-widget.php file directly...
misura
MemberMortenK
I downloaded and installed Genesis Translation plugin and activated.
I updated my wp-config.php todefine('WPLANG', 'pt_BR');
I see that "You are here" is in the pt_BR:
wp-content/plugins/genesis-translations/genesis-translations/pt_BR.po:msgid "You are here: "
wp-content/plugins/genesis-translations/genesis20/pt_BR.po:msgid "You are here: "With the appropriate translation.
Grep also says the binary mo's match.But when I view the page:
http://stage.luciana.misura.org/2014/09/27/dia-de-princesa-na-disney-bibbidi-bobbidi-boutique/
It still says "You are here" in english.I tried with both the genesis theme selected and with the Lifestyle-pro theme.
Ideas?
misura
Memberpressdeamon
Editing the .po file is not enough, you must generate the .mo from the .po with your updates.
You'll need a tool to do that:
-
AuthorPosts