Rafador
Forum Replies Created
-
ok, i know how to do it. It’s a little bit complicated (if you want to do it correctly).
In style.css change from 31% to e.g. 20%:
.featured-post{ float: left; margin:0 0 16px 15px; width: 31%; /*THAT'S IT*/ }But you have still a problem with the appropriate image size (you made a post smaller but it contains a bigger thumbnail).
find in functions.php
// Resize images if ( function_exists( 'add_image_size' ) ) { add_image_size( 'home-slider', 660, 365, true ); add_image_size( 'slider-beside', 240, 172, true ); add_image_size( 'three-col-thumb', 363, 209, true ); //!! add_image_size( 'five-col-thumb', 148, 85, true ); add_image_size( 'block4-main-thumb', 487, 304, true ); add_image_size( 'block4-post-thumb', 100, 85, true ); add_image_size( 'block-left-right', 174, 111, true ); add_image_size( 'popular-thumb', 193, 112, true ); add_image_size( 'gallery-full', 818, 537, true ); //GALERRY add_image_size( 'gallery-thumb', 71, 40, true ); add_image_size( 'recent-thumb', 95, 62, true ); add_image_size( 'sidebar-medium', 272, 137, true ); add_image_size( 'sidebar-gallery', 83, 83, true ); add_image_size( 'single-thumb', 563, 353, true ); add_image_size( 'comment-thumb', 117, 91, true ); add_image_size( 'archive-thumb', 200, 140, true ); }and fit three-col-thumb image size (used in featured-block-one and two) to your needs. After doing that you have to upload your images again (the theme resizing them just after uploading to the wordpress engine).
I hope this help.
Forum: Plugins
In reply to: [Special Recent Posts] How to make a link from a post's text preview?I probably find the reason. I’ve changed a link format, you must match to your own or try the same.
http://snag.gy/j0s6t.jpgI hope this help.
Forum: Plugins
In reply to: [Special Recent Posts] How to make a link from a post's text preview?I show you a whole function so compare it once again.
http://wklej.org/id/1638607/Try to replace “get_permalink( $post->ID )” with the direct link to your post.
Forum: Themes and Templates
In reply to: [ProfitMag] Theme Option not working!!!!Clean cache and other temporary files in your browser.
Forum: Plugins
In reply to: [Special Recent Posts] How to make a link from a post's text preview?ok, i know how to do that.
You have to add 2 lines of code to: /wp-content/plugins/special-recent-posts/classes/class-main.php (line 926 and 930)
$postExcerptHTML .= '<a href ="' . get_permalink( $post->ID ) . '">'; $postExcerptHTML .= '</a>';After modyfication it looks like:
// Setting up the post content text. $postExcerptHTML = ''; // Building post excerpt container. $postExcerptHTML .= '<div class="srp-post-content">'; $postExcerptHTML .= '<a href ="' . get_permalink( $post->ID ) . '">'; // Fetching post excerpt. $postExcerptHTML .= $this->extract_content( $post, $this>widget_args['post_content_type'] ); $postExcerptHTML .= '</a>'; // Checking if "image string break" option is set.Forum: Themes and Templates
In reply to: [ProfitMag] Slider to Media GalleryThank you for your respone but English please. (I know that my nick is a little bit confusing :D)
Meanwhile, I’ve found this plugin (https://ww.wp.xz.cn/plugins/slideshow-jquery-image-gallery/). It is quite good but I’m still interested in adding a slider there.
Forum: Themes and Templates
In reply to: [ProfitMag] Translate thingsLATEST POSTS – custom.js
posted BY probably in template-tags.php
LEAVE A COMMENT – content-search.php
Try to use phpStorm (30 days trial) to find it ;). Import the profitmag directory as a project and click Ctrl+Shift+F (Find in Path) or right click on the profitmag directory and choose “Find in Path” from a context menu ;).