PixelRelish
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Add a Read More LinkNever mind on the url link; found that. Still do need help with the skip newest post aspect, though. Thanks.
Forum: Plugins
In reply to: [WordPress Popular Posts] Add a Read More LinkCould you show the syntax for an inline (non shortcode) method? I must be getting the ” ‘ wrong, because once I add the page throws an error.
I’d like the final
<h6>read on</h6>
in the below to match the formatting used in the most recent post also shown on the page, namely<h6 class="margTzero"><a href="<?php the_permalink() ?>">read on <i class="fa fa-chevron-circle-right"></i></a></h6>
Here is what I have so far for the wpp entry:
<?php wpp_get_mostpopular( 'limit=1&offset=1&post_type="post"&excerpt_format=1&excerpt_length=500&post_html="<li><h2>{title}</h2> <p>{summary}</p> <h6>read on</h6> </li>"' ); ?>
ALSO, my adding “offset=1” doesn’t do anything. How do I have wpp skip the most recent post (using inline code, not the widget, because on a custom landing page).
Thanks!
In-progress page is at https://www.pixel-relish.com/wp2/
I think I understand what goes in the body of the page, but are you saying I also want to write the top of page code differently — or not at all?
Could you explain a bit further? PHP is not my forte, to say the least; I’m not understanding what I’m reading in the link. Obviously, yes, I want the lightest, most full-proof method of pulling in posts.
The hosting company seemed to think that customization files weren’t affected.
I guess I need to understand something: Are customizations done to OpenHook stored as a database on the blog’s database server or more of a css type file? If the former, well, that sucks for me, but if the latter then theoretically if I can find that file I can simply direct the main database file to it, yes? The hosting company thought the latter, but perhaps they don’t really understand the workings of OpenHook.