daymobrew
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Upgrade from 3.0.2 to 3.0.3 with just the four changed filesThat is what I did to do the upgrade – I just FTP’d those four changed files.
Forum: Fixing WordPress
In reply to: get_the_category returns category for a pagePerfect solution, thank you.
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearAside: I think that do_pattern=1 should be implied when pattern_form is used and excerpt_length=55 (the default) should be implied when {summary} is specified in pattern_form.
Is this possible? (It might require that pattern_form not have a default in wpp_shortcode()).
Also, do you plan to use post-thumbnails for the wpp thumbnail? (or is complicated because you aren’t using a standard loop to get post info)
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearI added
excerpt_length=55
to the page shortcode and{summary}
is now appearing.My page shortcode is now:
[wpp range="all" cats_to_exclude="3,28,25,19" pages=0 order_by="views" wpp_start='<div class="popular-posts">' wpp_end="</div>" stats_comments=0 thumbnail_width=100 thumbnail_height=100 post_start='<div class="popular-post">' post_end="</div>" do_pattern=1 pattern_form="{image}<h2>{title}</h2><p>{summary}</p>" excerpt_length=100]
I added excerpt_length=100 and changed pattern_form to pattern_form=”{image}<h2>{title}</h2><p>{summary}</p>”
Forum: Plugins
In reply to: [Plugin: WordPress Popular Posts] Summary does not appearThanks for do_pattern info. Can you add a note about do_pattern to the pattern_form help info in wordpress-popular-posts.php. I can submit a diff patch to you.
I have added do_pattern=1 but still no change.
https://www.valueseekers.ie/most-popular-offers/
I added text to the Excerpt box for the “Special beer offer at Tesco” but still nothing on the page.My page shortcode now has:
[wpp range="all" cats_to_exclude="3,28,25,19" pages=0 order_by="views" wpp_start='<div class="popular-posts">' wpp_end="</div>" stats_comments=0 thumbnail_width=100 thumbnail_height=100 post_start='<div class="popular-post">' post_end="</div>" do_pattern=1 pattern_form="{image} {title}: {summary}"]
I am using a different class for wpp_start and post_start: popular-posts vs popular-post (plural and singular). This is to allow styling of the area outside the posts.