• I have images attached to a post. I do not need that image to show in blog view. It should show only when you expand the item after clicking read more. Does anyone know and “exact” way to do this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Which theme are you working with?

    Thread Starter bossman50

    (@bossman50)

    Anacron

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That sounds like a commercial theme since I can’t find it here: https://www.ads-software.com/themes/anacron/

    So you’d need to use your theme’s vendors support.

    Thread Starter bossman50

    (@bossman50)

    Seriously? This is not controlled by the core of WordPress?? I am not using a third party plugin to handle post. How can that be?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes in general what you see on your website is the way your theme has been built.

    Thread Starter bossman50

    (@bossman50)

    This is not a css issue. If I did not have a 3rd party theme what would the fix be for this issue? Say I had chosen and given theme…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    An example of what I mean is to look at the Catch Themes demo: https://wp-themes.com/catch-flames/

    The Homepage lists out posts. One of the posts is titled as “Elements”. This post contains a “Continue Reading →” link. When pressing this link, a new page is loaded with the post.

    From your description, the equivalent in your theme is a “read more” link that expands after clicking it.

    Thread Starter bossman50

    (@bossman50)

    Okay.

    Another question while I have your attention. You have paginated intro text in blog view. You have all your items set to not show date, comments etc. However, when you go to set 2 they show. How can this happen?

    Thread Starter bossman50

    (@bossman50)

    See the difference between pagination 1 and 2 even the header is different. Puzzled!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It would appear that the theme is using different templates for those 2 pages. A common way to identify this is to look at the classes that are generated for the <body> element. This can be found when you ‘view source’ the page. When a page uses a different template, you may find different classes.

    I checked the <body> element of both pages and found the difference in these classes: https://www.diffchecker.com/8c8p0rts
    – On the left is page 1 of the pagination
    – On the right is page 2 of the pagination

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Image in Blog view’ is closed to new replies.