SonicxXx
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate Posts Widget] Number of postsForum: Plugins
In reply to: [Ultimate Posts Widget] Number of postsI have something different… on my page the plugin have all posts with no limit. I have set the plugin to hook all sticky posts and it does but hasn’t any limit. I’v tryed to change the number but it still shows up all sticky posts.
Forum: Plugins
In reply to: [Ultimate Posts Widget] Thumbnail is not showing upI made it. I have search in google for solutions and found it.
try to add this on the function.php
add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 300, 200, true ); // Normal post thumbnails add_image_size( 'New-Thumbnail', 300, 200, true ); // Permalink thumbnail size add_filter('the_content', 'set_featured_image_from_attachment'); function set_featured_image_from_attachment($content) { global $post; if (has_post_thumbnail()) { // display the featured image } else { // get & set the featured image $attachments = get_children(array( 'post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order' )); if ($attachments) { foreach ($attachments as $attachment) { set_post_thumbnail($post->ID, $attachment->ID); break; } // display the featured image } } return $content; }
and after chose any thumbnail size on the plugin and you ‘r ready.
- This reply was modified 7 years ago by SonicxXx.
hi, bravobrown. There is no need of this. There was an guy with a virus that was making dead links to the pages throu comments. Now the links are no more excist and the 403 errors are gone. Thanks for answer.
Forum: Fixing WordPress
In reply to: Userlinks redirects to homepageThanks, Jan… you was right. there is some conflict with Yoast and my current theme. Ill ask developers to fix it.
Forum: Fixing WordPress
In reply to: Userlinks redirects to homepageThanks and sorry again. Now what about the problem?
Forum: Fixing WordPress
In reply to: Userlinks redirects to homepageheh, sry… it’s not that site that you call it, it’s just site with ads call girls etc.
Forum: Plugins
In reply to: [WP Fastest Cache] Can’t add new timeout rulenvm, I replace the plugin with oldest version and works fine.
ok, I just made it like that
wp_die( array( 'response' => 403 ) );
and all fixed.Forum: Developing with WordPress
In reply to: Need help with checkbox “options”on classipress. it uses the custom post type and there are “sticky” ads.
The code that I put on my fist post is from an plugin that hooks with that command the sticky ads and relist them. I just want to add enouther checkbox (example:the-new-checkbox) on the post.php page while editing the ad and change fromget_option('sticky')
toget_option('the-new-checkbox')
on the code of plugin.Forum: Fixing WordPress
In reply to: Troubleshooting the HTML5 Video playerOK, was the CDN… the video was on the CDN and all my images and videos whenever are on CDN are not showing up.
Forum: Themes and Templates
In reply to: [onetone] HTML5 video not workingForum: Themes and Templates
In reply to: [onetone] HTML5 video not workingMy videos not working for non logged in users. If the’ll loggin the video will worc correctly.
Forum: Plugins
In reply to: [Easy Video Player] html5: Video file not foundI have the same issue… the code is
[evp_embed_video url="https://aggeliessex.gr/wp-content/uploads/2016/12/ZETA-%CE%BC%CE%B7%CF%87%CE%B1%CE%BD%CE%AE-%CF%84%CE%BF%CF%85-SEX.mp4"]
Only logged in users can see it.Forum: Plugins
In reply to: [Optimus - WordPress Image Optimizer] Bad Google PageSpeedI have optimyze ALL images abaut 40K it takes abaut 1 week and no result still saying optimyze your images and I got the HQ premium and have checked only the Image metadata, WebP files and HTTPS connection.