provdes
Forum Replies Created
-
Forum: Plugins
In reply to: [SendPress Newsletters] Can no longer sync lists after updateThanks Josh – I’ll do an update : )
Forum: Plugins
In reply to: [Redirection] Problems with simple regexFor anyone else’s information I resolved the issue.
I was using
(.*)which matches any characters that fall after the specified partial URL.As my first partial URL ended with the number 1, it meant that this redirect still took hold for any other partial URLs that ended with a teen number as the second digit was being grabbed by the regex
(.*)Fortunately in my case all my number in my URLs had a hyphen after them so all I had to do was make my initial partial URL a little more specific. So I changed it from:
/index-pag-products-cid-1(.*)to
/index-pag-products-cid-1-(.*)This made sure any URLs that contain teen numbers at the end of this portion are redirected where they should be…
Boggled my brain for a few hours. Couldn’t see the wood for the trees…
Forum: Plugins
In reply to: [WP Pipes] Duplicate postsGot to the bottom of the duplicate issue.
I wasn’t creating a slug processor. I was dropping my [so]title straight into the [di]slug field.
To prevent duplicates is it vital you create a slug processor and use it’s output in the [di]slug field.
Again, great plugin guys.
Get some good documentation together and it would be a truly awesome plugin.
Forum: Plugins
In reply to: [Import and export users and customers] Carriage ReturnsAwww man – that is such a shame!!
I have so many users to import and so many line breaks to remove.
For anyone else with the same issue, the only work around we have is to manipulate the csv in Excel and remove the line breaks using either formula or macro.
Details on how were in this very useful page:
https://www.ablebits.com/office-addins-blog/2013/12/03/remove-carriage-returns-excel/
Forum: Plugins
In reply to: [PDF Thumbnails] How to implement in themeThanks, but unfortunately still nothing displaying for me if I use
get_the_post_thumbnail()I have got it working through using this method:
<?php $attachment_id = get_field('file'); $filethumb = wp_get_attachment_image_src( get_post_thumbnail_id( $attachment_id ), medium ); ?> <div class="thumb"><img src="<?php echo $filethumb[0] ?>"/></div>wp_get_attachment_image_srcgot me everything I needed 🙂Now a very happy chap!
Forum: Plugins
In reply to: [PDF Thumbnails] Regenerate ThumbnailsThanks very much! The snippet will be very useful. I look forward to trying it out.
I had another query on theme implementation for this plugin in another thread. If you have 5mins to look at it that would be great!
https://ww.wp.xz.cn/support/topic/how-to-implement-in-theme?replies=3#post-6243035
Forum: Plugins
In reply to: [PDF Thumbnails] How to implement in themeI’m also having trouble bringing this into my template file.
The thumbnail is created and is in the media library, but I cannot get it to show. I can’t see any reference anywhere to a link between the attachment file (the PDF) and the thumbnail that has been created.
I have tried the following code in my template file: I am using the Advanced Custom Fields plugin, and my custom field for the PDF is called ‘file’ hence the
get_field('file');<?php $attachment_id = get_field('file'); $filethumb = get_post_thumbnail_id( $attachment_id ); ?> <div class="thumb"><?php the_post_thumbnail( $filethumb ); ?></div>I have lots of other elements on the template using the
$attachment_idand it is returning the id of the PDF file (which i’m using for file names, file sizes etc)I’m not sure how to go about testing it as you have mentioned above. My theme does not have a single-attachment.php file…
You mention that it works as the featured image, which I have a meta box for on my edit page – should the thumbnail be being displayed here?
This looks to be a super sweet plugin, worthy of many stars : )
Forum: Plugins
In reply to: [Amazing Posts Widget] HUGE h2 hidden slide titlesJust realised, that reason the widget wasn’t outputting anything was because my template had been deleted – plugin appears to be work fine other than that.
I’ll see if I can retrieve my template from backup.
Many thanks
Forum: Plugins
In reply to: [Amazing Posts Widget] HUGE h2 hidden slide titlesThanks for the update. But since installing it, the widget now displays nothing.
The widget title is there, but nothing else – no post information is output at all.
Also worth noting that updating the plugin also deletes any custom widget templates that users may have created.
How embarrassing – sorry about that Oliver.
My email is back up and running. I’ll send you another message.
Great! Thanks for that – solved the issues – the calendar was still using old category IDs.
Thanks Oliver – dropped you mail through your web form a week ago but not heard anything – can you please direct me somewhere with instructions on how to updgrade to the latest release.
By the way, events have only disappeared from the calendar. They are showing elsewhere on the site no problem.
I have checked the database and the post_id column is present and there is no capital letters in any of the database tables so it looks like the upgrade went fine.