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

Post Excerpt/Intro not working? #3

Open
AlexAscherson opened this issue Jan 12, 2016 · 1 comment
Open

Post Excerpt/Intro not working? #3

AlexAscherson opened this issue Jan 12, 2016 · 1 comment

Comments

@AlexAscherson
Copy link

Hi guys,

Another quick one. I cant seem to get the article intro/standfirst working correctly. Seems like it should be coming from the post excerpt but testing it on a new wordpress install it seems like this isnt happening.

I found dropping this into builders/class-components fixed the problem for me:

if ( $this->content_intro() ) { $components[] = $this->get_component_from_shortname( 'intro', $this->content_intro() )->to_array(); }

Is this a bug or am I doing it wrong?

@bcampeau
Copy link
Contributor

Intros are handled in class-metadata.php. If you want to propose a pull request to handle otherwise, I'm open to it.

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