Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Featured posts on front page #79

Open
chrisdubia opened this issue Feb 24, 2016 · 6 comments
Open

Featured posts on front page #79

chrisdubia opened this issue Feb 24, 2016 · 6 comments

Comments

@chrisdubia
Copy link

Hi Gustavo,

How can we make the containers for the featured posts on the homepage the same size and is it possible to include a thumbnail in the preview window?

best
chris

@tamielbr
Copy link

do you intend to do thumbnails like here, on each window (http://mamu.net.br/)?

@chrisdubia
Copy link
Author

Exactly! That would be great. Is there also a way to make the containers
of the preview excerpts the same size?
The example you shared also have different sizes.

Thanks so much!

On Thu, Feb 25, 2016 at 7:21 AM, Tel [email protected] wrote:

do you intend to do thumbnails like here, on each window (
http://mamu.net.br/)?


Reply to this email directly or view it on GitHub
#79 (comment).

[image: Chris-Signature.png]

@tamielbr
Copy link

You have to edit loop.php (or better, create a child theme) and under:

<header class="post-header"><h3>

add this to create the thumbnail:
<div align="center"><?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail( 'thumbnail' );
} ?> </div>

i haven't tried making them the same size, but i would guess it is controled by <?php the_excerpt(); ?> which puts out a maximum text size, which you might be able to control via the function; but there might be other ways via CSS.

@chrisdubia
Copy link
Author

Thanks very much for your quick response and help. It worked!

Question for you. We are a very small nonprofit and have a limited
capacity for tech development and are in need of someone that can help us
customize our site. Not very much to do - just a few lines of code to
customize the jeo theme

thoughts?
best
c

On Thu, Feb 25, 2016 at 7:43 AM, Tel [email protected] wrote:

You have to edit loop.php (or better, create a child theme) and under:

add this to create the thumbnail:

i haven't tried making them the same size, but i would guess it is
controled by which puts out a maximum text size,
which you might be able to control via the function; but there might be
other ways via CSS.


Reply to this email directly or view it on GitHub
#79 (comment).

[image: Chris-Signature.png]

@tamielbr
Copy link

@cardume @miguelpeixe perhaps can help?

@chrisdubia
Copy link
Author

I'll send him a note. Thanks!

On Feb 26, 2016, at 6:46 AM, Tel [email protected] wrote:

@miguelpeixe perhaps can help?


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants