Looking to get rid of the “Posted by” (author) on “Date” in “category” info? Here’s how.
In most recent versions of Canvas it’s called Filters. In that screen, you’ll see a few boxes and if you look closely, you’ll see some busy code. If you look closely, you’ll recognize elements that show the author, date, category etc. for a post. You can choose to show some of that, all of it, or just remove it all.
Here’s the code you’ll be dealing with.
1
|
<span class="small">By</span> [post_author_posts_link] <span class="small">on</span> [post_date] <span class="small">in</span> [post_categories before=""] [post_comments]
|
So for example, if you only wanted to show “By (author) on date” you would just leave this code in there:
1
|
<span class="small">By</span> [post_author_posts_link] <span class="small">on</span> [post_date]
|
I suppose you could get fancy and put in other text and even other code. Play around, you probably won’t break anything. Right?
Hello,
How can I delete comments date? Will you show me?
Hi Pete,
Try this in your custom CSS:
.comment-head .date {
display: none;
}
I just wanted to say “Thanks!” As a new Canvas user, I’ve found your posts to be incredibly helpful. I truly appreciate all the time and effort you’ve put into this work!
Hi Marcia,
Thanks so much for saying that. I’m just building and adding and hoping to make this into a helpful site so I’m thrilled to hear that it’s been so good for you. More and more coming this way, too, as I build and add courses and lessons. Stay tuned!
Hey Bradley.
I’m wondering if you know how to edit the “Read more” area below the posts link.
They provide a shortcode or filter that outputs the text “Continue Reading”: [view_full_article]
However, there is no documentation on how to change or modify this link.
What I would like to know is can you add parameters to the filter [view_full_article] such as CSS classes?
In the end I’m trying to find a way to turn that link into a button using Canvas’s default button styles as on the shortcodes page http://demo.woothemes.com/canvas/shortcodes/.
That and I’d prefer to do it there if possible without custom css.
Any ideas on how to modify and manipulate that “Continue Reading” link through the filters section?
I love the idea, but in a nutshell … no, I don’t know how to do what you’re asking. It’s this sort of thing where I look to WOO Ideas to build up popularity and eventually get into the core of the theme. It does actually happen! Thanks for stopping by with your question, hopefully it will get answered at some point in the future.
Hi Bradley, Hi Matt- I wonder, is this discussion in the Woo community forum a solution that works for you?
https://support.woothemes.com/hc/communities/public/questions/201112477-Change-Continue-Reading-to-button-on-Canvas?locale=en-us
I found it while looking for a way to just make the whole “continue reading” line go away- this turns it into a button, which sounds like at least a partial solution for you (well, it uses custom css).
Hi Bradley, thanks for sharing. I would like to remove the meta data you mentioned above, but only in certain blog post categories. Specifically I am going to put my customer testimonials into blog posts and I don’t want the meta data showing on those posts.
I’m then going to have a testimonials link in the nav menu and show blog archives of the testimonials category only.
Any ideas on how to make that look awesome would be appreciated. Thanks!
Hi Sue,
This is a level above what is currently possible in the filters … at least as far as I understand them. We’re getting into “conditional” statements (if category X, do this, if category Y, do that) and is beyond what Canvas can do out of the box. It’s a pity, but even when you start using hooks, you can’t use PHP (which you kinda need for conditional statements), so now we’re digging deeper and even getting into the functions.php file … which I try to avoid!
But best solution? Put up the request over at WOO Ideas and see if it gets some traction. I’ll vote for it!
Hi Bradley … I would like to change the ‘continue reading’ link at the bottom of the posts to say ‘more’ instead … how would I go about doing this?
Just wanted to say THANKS! Newbie to both WP and Canvas and finding your videos & how-tos very helpful.
Glad to hear it!