swergroup
Forum Replies Created
-
Excuse me but I don’t get it: what you’re trying to achieve? What shortcode you’re trying to use, and in which context?
[showlist] will show a simple list of post by category. If you’re going to show a category list of full posts, I think you’d better modify your category archive replacing the_excerpts() calls with the_content() calls. It should be a lot easier.
Of course I broke the comment: it’s the last time I try to comment from a tablet ?? Really sorry for that.
This is the amended comment:
This shortcode – no matter what post or page it’s in – will output an unordered list (
<ul>
) with some list items (
<li>
) containing posts from your category 11, but it’s not intended to replace in any way the post title in the templates.
I’ll try to explain: in the lower half of your screenshot, the post title is shown inside a list item as expected, because you’re using the [showlist] shortcode and this is supposed to output an unordered list, as shown in the shortcode documentation.
On the other hand the header provided from the shortcode is “MY CUSTOM LIST” and to change that title you have to use the headertext argument, i.e. headertext=”my post title”.
To have the shortcode header styled like the upper half of the screenshot, check if your theme’s template file have some custom markup or class around its title header and try to clone it around the shortcode (or replace wrapperclass with the real CSS classes).
Hi enigmaenigma, I can’t see the HTML code so I can’t be sure 100%, but I think everything is working here and it’s a misunderstanding.
This shortcode – no matter what post or page it’s in – will output a- with some
- containing posts from your category 11, but it’s not intended to replace in any way the post title in the templates.
I’ll try to explain: in the lower half of your screenshot, the post title is shown inside a
- as expected, because you’re using the [showlist] shortcode and this is supposed to output an unordered list, as shown in the shortcode documentation.
On the other hand the header provided from the shortcode is “MY CUSTOM LIST” and to change that title you have to use the headertext argument, i.e. headertext=”my post title”.
To have the shortcode header styled like the upper half of the screenshot, check if your theme’s template file have some custom markup or class around its title header and try to clone it around the shortcode (or replace wrapperclass with the real CSS classes).
Hope it helps!
Forum: Plugins
In reply to: [UploadPlus : File Name Cleaner] Support for UTF-8 characters non existing?sorry for the late reply, I can’t follow the forum as I would.
if you like to follow dev news you can track our progress on GitHub ??Sorry, it’s a known bug. We’re working on it, should be in the next version, sometime around WP 3.6
Sorry: no, or not yet at least. I’ll add to requested features list, but this does not imply we’re going to develop it anytime soon.
Forum: Plugins
In reply to: [Page2cat: Category, Pages & Posts Shortcodes] Read more postI’m sorry, we can’t assist you at that level. We can fix bugs, improve documentation and try to understand support requests and reply as soon as we can, but we can’t fix your website.
If you really need it please get in touch with our helpdesk and ask about paid plugin support options: opensource support starts as low as $10/hour.
Forum: Plugins
In reply to: [Page2cat: Category, Pages & Posts Shortcodes] Read more postI can’t understand if you’re adding the read_more on the posts that should show up via shortcode or in the post that hosts the shortcode itself.
In the first scenario, it should be a plugin bug and we already know about it; in the second one I think read_more can’t work in the post/page that hosts the shortcode, because the content itself is not in the post/page itself but is added later (that’s what the shortcode does).
What you’re trying to do with read_more should work on pages or posts on their own, but I’m quite sure it won’t work in a mixed setup like the one you’re trying to achieve (at the very least it’s untested, and frankly out of the scope of this plugin).
Forum: Plugins
In reply to: [Page2cat: Category, Pages & Posts Shortcodes] Read more postthere’s a known bug with [showlist] and excerpts, we’re working on it. because you’re talking about that shortcode, isn’t it?
if you’re willing to help us testing, you can try the development version (should be 3.3.2-beta3) and test if it works for you. if so, we’re going to release 3.3.2 next week.
(this issue status will be reported here)
Did you set up a category->page relation before?
If you have set up it, try looking your category archive page using this category.php template file in your theme: it will show the page content as header.
If this don’t work, you need to set up a category->page relation with the meta box in the page editing screen (as in the first image in this tutorial: the select should be set on a page instead of ‘none’).
you did not. the shortcode is INSIDE the loop, after have_posts(). you need to use it OUTSIDE, or it won’t work.
This is the modified category.php template file for twentytwelve theme:
The online documentation now reflects this explaination. Also there’s a new micro-tutorial – with screenshots – on template file editing.
as far as we know, the issue with jetpack is fixed.
short story: [showauto] won’t work as every other shortcode, so please don’t use it unless you have understood what’s different and where it works.
more details:
[showauto] is something different from the other shortcodes, it should be explained better in the documentation.
Apart from shortcodes, this plugin offers the ability to link a page to a category, in order to show the page content as header on your theme’s category template. This let you replace the usual ‘Archive for <category>’ with a more ample fixed header.
To make this work, you must define a page -> category relationship (hence the original plugin name: page2cat): you can do that on the “edit page” screen (look for a side box) or in the “edit category” screen.
Finally, when you have set up this exclusive relationship you need to edit the category.php template (or whatever it ships with your chosen theme) in order to display your page/header content: here’s where [showauto] is needed (and it’s the *only* place it should work). If you search in the forum you’ll find a lot of questions about this.
Here you should find some hints about the template modification.
Hope it helps!
please read the plugin documentation:
https://dev.swergroup.com/pages-and-posts-shortcodes/wiki/Home
if you don’t know what a shortcode is, here’s some more:
https://wp.smashingmagazine.com/2012/05/01/wordpress-shortcodes-complete-guide/