Hello– I love how simple and easy your plugin is. And the code is very clean. Well done.
I’m having an issue. When I toggle the Excerpt off, it is still displaying. Is this a bug, feature or am I missing something?
Screenshot: https://cln.sh/LWqPGF
Thank you
]]>After the update to 5.8 I can’t select a page/post in the widget.
]]>Why do you reset our css? Stuff like extra margins and padding around the widget h3, or line-height, etc……THIS STUFF IS ALREADY SET BY OUR THEME! And now we have to reset it because you assume we don’t know how to style our stuff and force your own styles on us.
]]>Can I make featured post always display the most recent post or page? ty
]]>I wonder if you are still around? I wanted to ask if you can think of some way this could be used show pages form another wordpress install So site A and B take page form site A and display in site B?
]]>Hi,
The plugin is absolutely useful, thanks a lot for your great work! However, I cannot use it as it’s not compatible with WPML plugin: only my english posts are showing in the widget, and not my french posts.
Is there a way to make it compatible with WPML in the next updates?
Thanks!
]]>Hello,
I have a problem with the fourth widget thumbnail (OTTOLIFE). It is square, loading a cropped image 200×200. The original image is identical in size as the other three (700×440), widget setting are identical. It does not make any sense at all. Any idea?
Thank you so much for help!
Hi,
is it possible that the excerpt text should be linked to the featured page like the title and the image ?
Thanks
I am hoping to change the FPW Excerpt Titles from H3 to H2
This is Only for SEO purposes – I need the font size to stay exactly the same. Is this possible and/or will it have a negative effect on the rest of the site?
thanks
]]>Hi, I’m trying to add the php to the fpw_template_filters.php file, and it’s not working. Am I adding the code to the wrong file? Or in the wrong place? I tried to follow your directions, I think I’m missing something.
(Goal is I have two custom post types, “books” and “authors”, and would like to feature a book and author each month
]]>In your instructions in View details next to your plugin it reads:
“Go to Appearance > Widgets or Customize > Widgets.
Add an instance of the “Feature a Page Widget” to the widget area (Sidebar, Footer, etc.) of your choosing.”
I don’t see where I can Add an Instance, see capture https://www.screencast.com/t/jsru3sI3qz
You also mentioned in an email as follows:
“Of the three layouts supported by the widget (wrapped, banner, and big), the “Big” layout is the only one that is guaranteed to show ALL the image. If you set it to use that, you should see the entire image.”
I don’t see where I can choose the layouts you mentioned.
I am using Modena theme by WPZoom
One of my product pages in question is: https://customhockeydesign.com/mini-hockey-sticks/
Also, the featured images on my product pages have been added before I installed your plugin. Do I have to delete them, then upload them again as featured images for the pages in question?
thanks
John
Hello.
I’m trying to display a book cover that is being used as the featured image. The image is being cropped in the widget. Is it possible to un-crop it? If so, could you explain how?
Thanks in advance!
3PT
(note: widget is being used in the footer of the page x3)
]]>Hi Mark – are you still actively developing the Feature A Page plugin? I ask because its listing on WordPress (https://www.ads-software.com/plugins/feature-a-page-widget/) says it’s only tested only to 4.8.5.
Thanks
]]>Hiya! I’m really liking this plugin, but I have a bit of a problem with its excerpt behaviour.
In other places where I’ve used the_excerpt(), I have relied on its fallback behaviour of fetching truncated post text where there is no custom excerpt available. However, I can’t get this to happen in FPW.
At first I thought the template was using some other function which I could just replace, but when I checked the files (big image template) I saw it was using the_excerpt(). Then I thought it was my theme, but even when I revert to Twenty Seventeen, still no summary.
Is this an intended behaviour of the plugin, or should I keep looking for a bug in my site?
If this is deliberate behaviour, do you have a recommendation for getting around it without editing the plugin core? It would be much more useful to me if it offered the usual behaviour of this function.
NB: Of course I know how to add a proper excerpt, but I’m worried about getting my clients to do so. I’m doing a website for a charity organisation and it may pass through many hands, so I’m trying to minimise the number of things they need to learn.
]]>The widget is excellent (I’m using 2.1.1 on a MU site) and I didn’t notice this behavior until I realized I didn’t know to use the Excerpt box below the posts, so thanks for that as well. On my home page, it continues to display the first part of the post. On other pages, it shows the content of the Excerpt box. I looked through the widget to see if it treating the home page differently (like is_home) but didn’t notice anything. I haven’t tinkered with the widget files. It was the same with 2 different themes. Any ideas on what I might look for? Now that I have proper excerpts, I’d like them on the home page too. Thanks for any guidance.
]]>Hi Mark,
I am new to filter and would be great if you can assist. I’ve been combing through the FAQ and I’m currently at a loss.
I am able to say Page and Post, but not the custom post type in the Appearance -> Widget -> Feature a Page widget. I have tried both adding the filter code to the snippet plugin and functions.php in the child theme and already add the slug to the code, but the custom post type posts are still not showing up. Can you advice if I overlook something? Based on the questions asked in this forum, this seems to be something basic, but I really don’t know how to go about this.
WP version: 4.9.1
custom post type created with: Toolset
I use FPW almost exclusively (thanks again) and often have custom layouts. It would be nice to allow the customization of layoutIcons.svg
, though I don’t know if this rarely used feature would be worth the code to implement it.
How I might go about it:
Graphic(s)
Allow SVG or PNG files within fpw2_views
whose filename matches the template file name except for the extension.
Display Option 1: via CSS
Untested!
function fpw_layout_css( ) {
$templates = fpw_widget_templates();
$css = '';
$exts = [ 'svg', 'png' ];
foreach( $templates as $key => $title ) {
$file = $url = '';
$path = '/fpw2_views/' . $key . '.';
foreach( $exts as $ext ) {
$try = get_stylesheet_directory() . $path . $ext;
if ( file_exists( $try) ) {
$file = $try;
$url = get_stylesheet_directory_uri() . $path . $ext;
break;
}
}
if ( ! $file ) continue;
$css .= '.fpw-layouts .fpw-layout-' . $key . ':checked + label::after{';
$css .= 'background-image: url( ' . $url . ');';
$css .= 'background-position: 0 0;';
$css .= '}';
}
if ( $css ) {
wp_add_inline_style( 'fpw_admin_css', $css );
}
}
Display Option 2: Use JS
Not going to code it, but would involve watching the click on the layout options, checking if the BG position of the label is 0,0, and then using ajax to try and get a new BG graphic. I think.
Anyway, this would add a nice polishing touch to custom layouts. And, actually, now that I’m asking for the moon, it would be nice if the standard graphic could be replaced by having an exact-named graphic in the fpw2_views
directory. I often co-opt standard layouts to reverse title/image order or similar. This is much less of a priority.
If you use github for source control, would be happy to do a pull request there.
]]>As always, great plugin, thanks for your time in creating and maintaining it.
I’ve come across an edge case “bug”. It relies on carelessness of others, so may not justify fixing…to trigger it:
fpw_post_types
fpw_post_types
This can cause FPW to trigger a PHP warning via this code in fpw_helper_functions.php
:
`
85 $post_type_object = get_post_type_object( $type );
86 $name = $post_type_object->labels->name;
`
Line 85 will return null; line 86 will generate a “trying to get properties of a non-object” warning.
Fix should be fairly simple, something like:
`
85 $post_type_object = get_post_type_object( $type );
86
87 if ( $post_type_object === null ) continue;
88
89 $name = $post_type_object->labels->name;
`
guys, great job with this plugin!! ITs just what i was looking for. I just left a 5 star review. If it’s ok id like to post the custom css that helped me to wrap the text properly. While the appearance of the widget is awesome, the text was broken up into several line spaces. to fix this, i changed the css to use hypens, and made sure that it was browser tested –
.fpw-excerpt {
overflow-wrap: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
Should work in all major browsers. While the orignal worked great on mobile, on desktop in firefox and crhome, the word spacing just wasnt right. Thanks for making such a great plugin! I just sent a donation! thanks guys
]]>I want to show multiple featured pages on a page by adding a widget in the Page Builder by SiteOrigin.
Feature a Page has to some extend what I ask for, but the widget is not working when I select multiple pages. When I select one page it works, but when I add multiple pages it shows the first blog post of the site instead of the pages I selected. When I go back to edit the widget, the first blog post is selected.
Selected featured pages before I save
After I have saved and open to edit the widget again
Is there something I can do to fix this?
]]>How to change featured image’s alignment to left?
]]>The plugin is great, but as my site is in German, I just need to know where and how to edit the label Read More. Which plugin file(s) and which code lines. I managed to change the label backend to German but not front end on the site. Your help much appreciated.
]]>I love your blocks, but I also think they would be much more engaging if I could put them into a light grey background…and I didn’t see anything to help in the documentation:
https://mrwweb.com/wordpress-plugins/feature-a-page-widget/version-2-documentation/
How could I do this?
]]>I am using the latest version of Yoast with Feature a page widget and am seeing an error when I try to view the Yoast XML Sitemaps, the error goes away when I deactivate Feature a page. the error is to do with whitespace
“error on line 3 at column 6: XML declaration allowed only at the start of the document”
]]>I’m using Events Manager for Events on my site and would like to be able to use this plugin to feature the events. I set up the fpw_post_types filter for events and they now display in the widget and I can choose the event I want to feature. However, nothing shows up on the front end. The events I’m choosing do have excerpts and images.
The site is online here: https://www.castinehistoricalsociety.org/
I’m using the plugin in two places on the homepage already and it’s working fine — but just not with events.
My filter looks like this:
add_filter( 'fpw_post_types', 'fpw_add_post_type_to_feature' );
function fpw_add_post_type_to_feature( $post_types ) {
$post_types[] = 'event';
return $post_types;
}
What could I be missing?
Thank you for any help!
]]>Just a suggestion: Why not making the Read More translatable?
]]>How do I put the 3 features on the same row? They are stacking vertically and that looks kinda dumb and green.
]]>What CSS can I use to control the font style of the Title?
]]>Hi,
Thanks for this great plugin. I have some problems though.
1. I don’t want the title at the top to show, but obviously i do want to show the title in the read more link. Is there a way to fix that?
2. The read more link has the word ‘about’ in it that is not translated (dutch). How to fix that?
3. When hovering the image the text falls below the image. See a live version here: https://goo.gl/RDJz5r
Any help is greatly appreciated.
]]>In the widget settings the checkbox for showing the featured image is not set –?and the image is (as expected) not showing. However I still get the code generated like this:
<div class="fpw-featured-image"></div>
How can I check if the option is set or not set? Thank you!
]]>