• Resolved spiney

    (@steeltape)


    My site hv attachments in almost every post and I have Adsense placed at bottom of my post.

    I set title before attachment as <h2>Download</h2> to make things easier but there is some post in my site that does not have any attachment and the tag Download is shown as if pointing to Adsense

    This is against Adsense TOS. Is there any shortcode I can place manually in post so that auto attachment wont show ?

    http://wordpress.org/plugins/auto-attachments/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Serkan Algur

    (@kaisercrazy)

    Hi steeltape,

    There is no shortcode but i will resolve this as soon as possible with an update. thanks for your information.

    Thread Starter spiney

    (@steeltape)

    Would you mind adding another thing into the update ?
    right now if we hover on attachment link it is showing the file link on our left corner browser. is there any way to hide it from showing direct file link?

    example below

    View post on imgur.com

    Thread Starter spiney

    (@steeltape)

    Serkan I see the newest update patch mention that it will not show Title Before Attachments if no attachment in post.

    but mine is still showing Title Before Attachments

    Plugin Author Serkan Algur

    (@kaisercrazy)

    There was no problem when i tested. I will look code again. Thanks for your bug report.

    Thread Starter spiney

    (@steeltape)

    okay confirmed still showing . I deleted the plugin from ftp and reupload, try it again and it is still showing.

    The reason why it’s showing is because I have picture attached in that article and I set plugin to not show gallery.

    I only wanted plugin to show zip/rar/pdf files but it also thought pictures as attachment

    Plugin Author Serkan Algur

    (@kaisercrazy)

    steeltape i looked your example and you have attachments in your page. When you upload any content (images etc) to your post, these files are attachmetns. You can hide them from plugin’s shortcode panel but still your post has attachments.

    Because of that before title option shown in your post. Plugin’s logic is simple, if you have attachments, plugin shows everything based on your configuration.

    I can add an option to post’s widget about before title. Let me figure it out.

    Have a nice day

    Thread Starter spiney

    (@steeltape)

    serkan instead of that, could you make it so that we can choose to include picture as attachment or not ? we can choose to hide gallery but it still consider it as attachment right

    in my case I only wanted plugin to care for zip,pdf,rar files

    Plugin Author Serkan Algur

    (@kaisercrazy)

    Steeltape, i noted that. in this situation i need to add options to auto attachments general settings panel.

    You will choose which attachments to show (images, video, audio and files)

    This is exactly what I need also. Looking for a switch to disable any images or videos attached from showing. Any progress on this? Love this plugin!

    Thread Starter spiney

    (@steeltape)

    I test this plugin with 3.8.1 and this error pops out

    Warning: Illegal string offset ‘where’ in /home/house/public_html/xx/wordpress/wp-content/plugins/auto-attachments/auto-attachments.php on line 457

    Warning: Illegal string offset ‘fshow’ in /home/house/public_html/xx/wordpress/wp-content/plugins/auto-attachments/auto-attachments.php on line 249

    Warning: Illegal string offset ‘fshow’ in /home/house/public_html/xx/wordpress/wp-content/plugins/auto-attachments/auto-attachments.php on line 249

    Warning: Illegal string offset ‘fshow’ in /home/house/public_html/xx/wordpress/wp-content/plugins/auto-attachments/auto-attachments.php on line 249

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Disable if no attachment on post/page’ is closed to new replies.