ljvx
Forum Replies Created
-
Forum: Plugins
In reply to: [List Petfinder Pets] Paragraph's not appearing for Featured PetActually, looking at it now, ignore my last idea and just change line 432
$this->description = $description;
to
$this->description = nl2br($description);
Forum: Plugins
In reply to: [List Petfinder Pets] Paragraph's not appearing for Featured PetHi there,
I had this problem for my adoptables page https://newmexicohrs.org/adoptable-buns/If you edit the plugin directly you can add a php function to the description of the animal to convert whitespace newlines to <br />. It’s a hack but works.
On line 306 where is lists
$dog->description
addnl2br($dog->description)
Here is that whole line including my extra function:
$output_buffer .= "<div class=\"description\">" . nl2br($dog->description) . "</div><div class=\"features\">" . $dog->age . ", " . (($dog->sex == "M") ? "Male" : "Female") . ", " . $dog->get_size() . "</div></div>";
Hope that helps
~loothiOh, so I hacked it in the CSS. Probably not pretty but it works. Resolved.
Why thank you kindly.
Forum: Themes and Templates
In reply to: [Tempera] topbar bleeds to edge of pageHi.
Just wondering, how about editing the css to limit the width? You have a box shadow though that needs commenting out…
#topbar { margin: 0 auto; max-width: 1150px; background-color: #445924; border-bottom-color: #6c814c; /* box-shadow: 3px 0 3px #1c3100; */ }
Forum: Themes and Templates
In reply to: [Gridsby] Why so much whitespace before the site-footer?Thanks muchly for spotting my mistakes! Corrected, and the second enqueue has been removed too.
Getting there now….
Cheers!
LucyForum: Plugins
In reply to: [WP RSS Multi Importer] Feed to post stopped importing using manual fetchAllen fixed it for me as all my fed rss items had the same title which conflicted with some changes he’d recently made, and were failing to pass a title-based ‘unique’ rule.
Do all your RSS items have the same title? Could be the same issue.
Forum: Plugins
In reply to: [WP RSS Multi Importer] Feed to post stopped importing using manual fetchThat’s incredibly generous of you! Contact form sent. Many thanks.
Forum: Plugins
In reply to: [WP RSS Multi Importer] Feed to post stopped importing using manual fetchHi, thanks Allen.
I don’t actually care that the cron doesn’t work. Scheduling is not important.
I was happy to manually use the “CLICK TO FETCH FEEDS NOW” – it’s that that I now can’t get to work.
Any more ideas?
*edit* I checked my posts trash and there is nothing in there.
Ta
~loothiForum: Plugins
In reply to: [WooCommerce] Paypal payments are failing with alt email addressThis is happening for me too! Thanks for the post. I feel saner knowing it’s not just me.
Forum: Plugins
In reply to: Query Posts by TaxonomyHeya.
You left your taxonomy hard coded. ??
$t_data = term_exists($term, 'show-in');
Maybe..?
$t_data = term_exists($term, $options['taxonomy_name']);
~loothi
Forum: Fixing WordPress
In reply to: Custom post type and capitalisationDarn. Answered my own q.
single-hireitem.php works.Forum: Themes and Templates
In reply to: Right hand sidebar widgetsOh I get it. The page.php doesn’t include
<?php get_sidebar(); ?>Forum: Plugins
In reply to: TwitPress truncates tweets when it encounters ‘&’Yes, in function
twitpress_get_message( $postID )
at line 248
replace:
$proto = str_replace( "[title]", $post->post_title, $proto );
with
$proto = str_replace( "[title]", urlencode($post->post_title), $proto );
We had this bug using Twitpress from our Journalism News blogs https://blogs.journalism.co.uk/editors/
to our twitter page https://twitter.com/journalismnewsbut it now works fine for us.
Cheers!
~loothiForum: Fixing WordPress
In reply to: Url is not valid and cannot be loadedIs this fixed in > 2.6 ?