Affinty Theme: Featured Image Function Not Working…

  • Unknown's avatar

    Hello, I have the Affinity theme for my wordpress website. https://wordpress.com/themes/affinity

    I really like the layout of the theme especially the “featured images” for each page so I asked a support rep if it was possible for the categories (like in my blog posts) can be made as tabs to link the content. (For example if a post is tagged as “Travel Adventures” for it to appear under the “Travel Adventures” tab).

    They advised me that I should just use the “pages” as “categories” in order to have the applicable content linked.

    But when displayed this way, I lose the “featured image functionality” for each page. The support rep advised that I post it here in the developers forum. Can you please help?

    I tried to find another theme that already had this type of functionality but I couldn’t find one and I like the Affinity theme so much that I’d be willing to pay for this feature change the amount that the paid themes cost.

    Please let me know if you can help. Thanks and I appreciate your time and assistance.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    I’m not sure I understand what you are asking for, but I’ll make an attempt to provide a useful response.

    They advised me that I should just use the “pages” as “categories” in order to have the applicable content linked.

    But when displayed this way, I lose the “featured image functionality” for each page.

    Featured images set on posts will display at the top of each corresponding post in a category page on the Affinity theme, as can be seen for example on the “Inspiration” category page of the Affinity demo.

    There is no featured image option for the header area of archives pages, including category pages, regardless of theme.*

    If you link menu items to static pages, rather than category pages (such as your “Travel Adventures” category page), then you’ll have the option of assigning a featured image to the static page which represents the category “Travel Adventures.” However, the static page will not display any posts — posts can not be assigned to display on static pages — unless you insert something such as display posts shortcode into the page content. See the Display Posts Shortcode support page.
    _________________________

    * I think of the blog page as a special type of archives page, though it isn’t typically defined as such. There may be some themes in which a featured image set on a formerly static page that has been assigned as the blog page will display at the top of the blog page, but this is not normally the case, and is specifically not the case wrt the Affinity theme.

  • Unknown's avatar

    Dear Musicdoc1!

    Thank you VERY MUCH for your help and for trying to understand my questions with regard to what I want to do with the theme and where the problem lies. Yes, you understood me!

    I am very thankful that you told me about the “display posts shortcode”. I did not know about it – it’s great! This way I can put all my posts on a separate page according to their category AND I can pick an individual background header.

    I am okay with it, even though it is not 100% neat: The “leave a comment” function disappears this way, and also the arrangement of the posts change: The main image of each post is gone and the headline font size which is usually bigger just comes out in the normal size, making the blog posts appear more like they are sticking together. You can compare here the original category site https://winkofaneye.me/category/inspiration/ to the is manually created category (=a page with the “display posts shortcode”): https://winkofaneye.me/inspiration/. Do you see the difference?

    There is no featured image option for the header area of archives pages, including category pages, regardless of theme.

    Therefore: Could you / the developer’s team add the necessary programming code to make this happen? Because it is important to me, I am willing to contribute 100 USD for the developing costs to the one who adds this functionality to the theme. (via Paypal or another preferred payment method).

    Thank you!

  • Unknown's avatar

    Hi eewinkler!

    The “leave a comment” function disappears this way

    Comments are disabled by default on static pages on WordPress.com sites. You may enable comments on any static page as described in the Enable and Disable Comments for Published Posts and Pages support page. Comments must be manually enabled on each page on which you want to allow them.

    also the arrangement of the posts change

    It might not be possible on a WordPress.com site to precisely replicate the style of the auto-generated category page on a static page customized to serve as a category page, though you might be able to accomplish this on a WordPress.org site with considerable effort.

    Featured images of various sizes may be included in display posts shortcode. See the “image_size” argument in the Display Posts Shortcode support page. The Arguments section of the support page lists and describes the various means of customizing the shortcode with inclusion of argument and value combinations.

    There is no featured image option for the header area of archives pages, including category pages, regardless of theme.

    Therefore: Could you / the developer’s team add the necessary programming code to make this happen?

    You may add a “modlook” tag to the sidebar of this topic to call for staff attention regarding this request.

  • Brilliant answers from @musicdoc1, as always :)

    The display posts shortcode isn’t able to display the comments link, as you’ve noted – and it isn’t a change we have planned at the moment.

    My recommendation would be to use More Tags to shorten the amount of your post that is displayed – then your visitors would need to click through to the individual post where they can leave a comment.

    You could also use include_excerpt=”true” instead of include_content=”true” in your Display Posts Shortcode to automatically shorten them.

    That would mean the images you’ve embedded in the posts would not be displayed, so the More Tag might be a better option – or adding Featured Images to the posts and setting your display posts shortcode to display them :)

  • Unknown's avatar

    staff-loquaciousloon,

    The display posts shortcode isn’t able to display the comments link, as you’ve noted – and it isn’t a change we have planned at the moment.

    Thanks. My answer on the question of comments was irrelevant, due to misunderstanding eewinkler’s goal.

  • No worries, you answered everything else, so that was all I had left to chip in on ;)

  • Unknown's avatar

    I am using the affinity template but I am trying to upload a powerpoint into a sidewidget. I was able to use the gallery for pictures but I cannot figure out what to use and how to use it to upload a powerpoint. I would like it to appear as a sidewidget for people to look at if they chose, my other option would be to use it as a dropdown under my “page” but I am not sure how to do this either.

    Another question, I have added a gallery widget under a certain page but it does not appear when you scroll through my portfolio, it only appears when you click on the page…is there a way for it to appear on the scroll through also? Thank you

  • Hi @traceyryerseecareerportfolia!

    Would you mind opening a new thread for each of those questions? It’s best to keep each forum thread to a specific topic whenever possible :) Thanks!

    https://en.forums.wordpress.com/forum/themes#postform

  • Unknown's avatar

    @musicdoc1
    Another time I have to say: Thank you so very much for taking the time to read & understand the information I stated in my response. Thank you very much for the details and for referring to wordpress.org and the substantial additional work it would take. Thank you also for pointing out the “image_size” argument in the Display Posts Shortcode.

    Thanks as well to staff-loquaciousloon for feeding in.

    In the end, I decided to not shorten the posts (neither through the “more tag” function nor through include_excerpt=”true”) but to enter a featured image in the beginning of each post. This is then also shown on the site where I include my posts per category. This way, an image is directly visible per post, and it also functions as a separator for the different posts. (see e.g. https://winkofaneye.me/inspiration/)

    Thanks a million to those who helped me! @musicdoc1 staff-loquaciousloon

    Thread closed (from my side).

  • Unknown's avatar

    @musicdoc1
    Another time I have to say: Thank you so very much for taking the time to read & understand the information I stated in my response. Thank you very much for the details and for referring to wordpress.org and the substantial additional work it would take. Thank you also for pointing out the “image_size” argument in the Display Posts Shortcode.

    Thanks as well to staff-loquaciousloon for feeding in.

    In the end, I decided to not shorten the posts (neither through the “more tag” function nor through include_excerpt=”true”) but to enter a featured image in the beginning of each post. This is then also shown on the site where I include my posts per category. This way, an image is directly visible per post, and it also functions as a separator for the different posts. (see e.g. https://winkofaneye.me/inspiration/)

    Thanks a million to those who helped me! @musicdoc1 staff-loquaciousloon

    Thread closed (from my side).

  • Unknown's avatar
  • The topic ‘Affinty Theme: Featured Image Function Not Working…’ is closed to new replies.