adijeff
Forum Replies Created
-
I have the same issue Adam.
The background image remains static while strolling. There is no jquery changing the position. I have switched to the 2013 theme, and disabled all plugins, and still the same.
Also, I get this error: wp-content/plugins/adamrob-parallax-scroll/includes/adamrob-parralax-shortcode.php:197 – Undefined variable: output” – might this be the problem?
See this page: https://kfc.definingdesign.co.uk/front-page-image/
Thanks for any help.
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Parent element dataHi all,
I thought I would reply to my own post in case anyone else needs help with this. This is the code I used to amend the XML using PHP. I am not a coder, so this is possibly not the most efficient way, but it works!
Essentially, I read the XML file, and go through each <campaign> node, find the imageurl tag and then go through each <event> node within that <campaign> and add the imageurl into that node. Then instead of calling the original XML file, I call the new PHP file:
<?php $doc = new DOMDocument('1.0', 'utf-8'); $doc->formatOutput = true; $doc->preserveWhiteSpace = false; $doc->load("xmlfile.xml"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"; echo "<campaigns>"; $xpath = new DOMXpath($doc); $searchNode = $xpath->query('//campaign'); // find campaign nodes foreach( $searchNode as $searchNode ) { $valueID = $searchNode->getAttribute('id'); echo "<campaign id=\"" .$valueID. "\">"; // get the campaign id //campaignimage $xmlUrl = $searchNode->getElementsByTagName( "campaignimage" ); $valueImage = $xmlUrl->item(0)->nodeValue; // get the imageurl $searchEventNode = $xpath->query("campaign[@id='$valueID']//event"); // get all events within our selected campaign (using id) foreach( $searchEventNode as $searchEventNode ) { //get venuelocation $xmlVenueLocation = $searchEventNode->getElementsByTagName( "venuelocation" ); $valueVenueLocation = $xmlVenueLocation->item(0)->nodeValue; echo "<event>"; echo "<campaignimage>" .$valueImage. "</campaignimage>"; echo "<venuelocation>" .$valueVenueLocation. "</venuelocation>"; echo "</event>"; } echo "</campaign>"; } echo "</campaigns>"; ?>
Forum: Plugins
In reply to: [HMS Testimonials] Using post thumbnail image for testimonial imageThe extra setting for image size works beautifully. Thanks very much Jeff.
Forum: Plugins
In reply to: [HMS Testimonials] Using post thumbnail image for testimonial imageGreat, thanks Jeff.
Forum: Plugins
In reply to: [HMS Testimonials] Using post thumbnail image for testimonial imageHi Jeff,
Have you made any progress on this issue?
I am displaying thumbnail images for each testimony, but the full size image is being downloaded – sometimes 3000px!
Great plugin by they way.
Forum: Plugins
In reply to: [Slideshow] ability to choose image sizeOK, thanks for your speedy reply. I look forward to the update, and in the mean time, will get the user to scale the slider images first.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourI avoided kaisho’s squashed images, by setting the height to 0. This means the inline style only specifies width.
The downside is that on the admin side, height is specified as “0” so the thumbnail does not show. I worked around this by adding this code to functions.php:
add_action('admin_head', 'my_custom_fixes'); function my_custom_fixes() { echo '<style> .testimonial-image { height: auto !important; width: 150px; } </style>'; }
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourWorks perfectly – thanks Jeff.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourGreat – thanks Jeff. I look forward to 2.2.5.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourHah, OK – I thought it was an undocumented feature!
I’ve re-read your post, and you’re suggesting the individual URL mysite.com/testimonials?testimonial_id=5 etc is the default behaviour, without having to manually add the link. This would be ideal.
Thanks again for such quick responses.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourThat is an excellent stop-gap solution, but I cannot get it to work. The page still shows the full list of testimonials.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourOK, thanks, anyway.
When clicking a “read more…” link, I would expect to go to the full article. Please consider this for a future update. Thanks.
Forum: Plugins
In reply to: [HMS Testimonials] Read more link behaviourThanks for the quick response. I understand what you say, but rather than a default page being say a page showing all testimonials, is there a way for the default link to be a full version of that single testimonial? Thanks.
Forum: Plugins
In reply to: [MimeTypes Link Icons] Unexpected quantifier error in IEExcellent! The error has gone away in all versions of IE. Thanks so much for your quick response.