Skip to content

Replacing $post->post_excerpt to get_the_excerpt()#5

Open
coder-karen wants to merge 2 commits into
wpmark:masterfrom
coder-karen:feat-excerpt
Open

Replacing $post->post_excerpt to get_the_excerpt()#5
coder-karen wants to merge 2 commits into
wpmark:masterfrom
coder-karen:feat-excerpt

Conversation

@coder-karen

Copy link
Copy Markdown

Change $post->post_excerpt to get_the_excerpt() in order to take an excerpt from the content if an excerpt isn’t set.

@wpmark

wpmark commented Aug 17, 2017

Copy link
Copy Markdown
Owner

@coder-karen this change would mean that the user if forced to have an excerpt shown - is that correct?

@coder-karen

Copy link
Copy Markdown
Author

No, if the ‘show excerpt’ box isn’t checked, no excerpt is shown.

@wpmark

wpmark commented Aug 18, 2017

Copy link
Copy Markdown
Owner

That makes sense then

Comment thread uninstall.php


/* Deleting FFPW widget option row in database */
delete_option('widget_FFPW_Flexible_Featured_Post');

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coder-karen can you remind me of what this option is please? :-)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The option is automatically created on activation of the plugin, when the widget is registered. It stores serialized information about the widget - it's location, and the options within the widget.

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

Successfully merging this pull request may close these issues.

2 participants