e7traf-host
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate] Tinymce advanced editor not showing up!@martin Mateju , Thank you very much
Forum: Plugins
In reply to: [qTranslate] No longer works with 3.9.2Open qtranslate.php file line 90
Will find this
define('QT_SUPPORTED_WP_VERSION', '3.9.2');
change 3.9.2 to your wordpress version
Forum: Plugins
In reply to: [qTranslate] Change logo image based on language selected ?<img src=”<?php if ( qtrans_getLanguage() == “en” ){ echo ‘your en IMG path’;} else if ( qtrans_getLanguage() == “ar” ){echo ‘your arIMG path’;}” />
I am using this works very good for me
Forum: Plugins
In reply to: [Lightbox & Modal Popup WordPress Plugin - FooBox] how it works?The img IMG_7698.jpg is attached to my page
the frontend output for
[gallery link="https://127.0.0.1/occ/1//wp-content/uploads/2014/01/IMG_7698.jpg"]
is just
so what is the problem?
Forum: Plugins
In reply to: [Lightbox & Modal Popup WordPress Plugin - FooBox] how it works?this is my code
<div class="gallery"> [gallery link="https://127.0.0.1/occ/1//wp-content/uploads/2014/01/IMG_7698.jpg"] [gallery link="https://127.0.0.1/occ/1//wp-content/uploads/2014/01/IMG_7698.jpg"] [gallery link="https://127.0.0.1/occ/1//wp-content/uploads/2014/01/IMG_7698.jpg"] [gallery link="https://127.0.0.1/occ/1//wp-content/uploads/2014/01/IMG_7698.jpg"] </div>
and this is the front end output
<div class="gallery"> <br> <br> <br> </div>
Forum: Plugins
In reply to: [Lightbox & Modal Popup WordPress Plugin - FooBox] how it works?thanks but it is also not worked for me ??
Forum: Plugins
In reply to: [WP Smart Mobile Theme Plugin] No Menu in WpSmart plugini facing this problem too, search not working
Forum: Plugins
In reply to: [FeedWordPress] alot of errorsYou are right it was happened because i upgraded the PHP version & after downgrade it was working fine
thanks
i hope this help any body search for itForum: Plugins
In reply to: [FeedWordPress] Adding a source link to bottom of syndicated posts?This is not plugin it is just addon for feedwordpress plugin nothing affected from it
I using it without any problems
Another solution from me is trying to put this in your single.php file
<a href="[original-url]" target="_blank" > source </a>
Forum: Plugins
In reply to: [FeedWordPress] Adding a source link to bottom of syndicated posts?you can use feedwordpress add attributes addon to achieve this
Forum: Plugins
In reply to: [FeedWordPress] syndicated content filteriam already thinked about this thanks &maria
but also i need to know how to make addons with feedwordpress
Forum: Plugins
In reply to: [FeedWordPress] Full post being added to excerptme too
Forum: Hacks
In reply to: remove all img tags from post_contentthanks for yur help but i have a new problem if my args matching more than 150 posts i have recieved a timeout error if less than 150 every thing is ok, how can i fix this?
Forum: Hacks
In reply to: remove all img tags from post_contentno my friend the last post for me the code is worked perfectly, i posting it to every body who searching for this problem
thanks for your help
Forum: Hacks
In reply to: remove all img tags from post_contentthe solution iiiiiiiiiiiiiiiiiiiis for every one searching for it:
function remove_images_form_past_posts2() { if ( get_transient('images_removed_from_past2') ) return; $args = array( 'post_type' => 'post', 'year' => 2013, 'monthnum' => 9, 'day' =>25, 'post_status' =>'publish', 'category' => 30, 'post_author' => 3, 'nopaging' => 1 ); $posts = get_posts( $args ); if ( $posts ) { foreach ( $posts as $post ) { $newcontent = preg_replace('/<img[^>]+\>/i', '', $post->post_content); $newpost = array( 'ID' => $post->ID, 'post_content' => $newcontent ); wp_update_post($newpost); } set_transient('images_removed_from_past2',true, 60 * 60 * 24); } } add_action('admin_init','remove_images_form_past_posts2');
change the $args to your needs, change the REGEX to your needs, if you will use this more than 1 time delete the old one & create anew one with new names for the function & transient
wish this help