This is probably going to be a really simple fix... I just can't figure it out.
I want to display the posts from a wordpress category on the following page: http://www.oe-design.com/about-press.php?test
I've managed to do so but when I show the 'description' on the page (my code: $item->description), it only shows a snippet of the article, not the full article...
What do I need to use to show the full article?
I am trying to view the wordpress RSS feed but when I view it in FireFox it asks me to subscribe so I can't actually view it and see what I need to do to view the full article. Safari shows their own custom feed layout...
Hopefully I am making sense
Your feed doesn't have anything to do with displaying the full article or the excerpt on your category page. Change <?php the_excerpt();?> to <?php the_content();?> in your theme files, like category.pgp, single.php, etc.
Related
I want to display the content from different pages on my wordpress home page in a way that it displays an image, page heading and some content with the link to that page. Any help is appreciated. If there is any plugin available please let me know that. Sorry to all the pros, i am, just a beginner in wordpress. I have attached an image too of what i am, looking for.
Thanks and Regards.
I suggest you use post instead of pages and than display those posts in you home page.
I would suggest using the plugin Advanced Custom Fields on one page or post, and then pulling them onto other pages in the template(s) using this line:
<p><?php the_field('your_field_name', 123); ?></p>
The "123" is the page ID of where your content is. It can be found in the URL when you're editing a page/post. Then you only have to edit one page, and it will change on all pages that you wish to display it on.
Plugin Website: http://www.advancedcustomfields.com/
I am using a camera slideshow plugin for WordPress the newest version, how can I make it so that I can see the slideshow on front page, but hide the post that duplicates on the main page. I don't want the post to show but just the slideshow. Whenever I am making a post private it hides both the post and the actual slideshow. Please help...
Finaly I managed to solve this, by hiding the post and using the shortcode in PHP page template like this:
<?php echo
do_shortcode('[camera slideshow="dalaslideshow"]'); ?>
But the slideshow should exist in a post before you can call it in PHP.
However, you can hide the post from being shown by making a hidden category and not showing this category on the homepage by filtering.
I am using wordpress for my blog.
I used the some pluging to add meta data for each post.
Whenever I add the new post, the home page displaying entire article. Instead of that I want to display only description or small portion of the article in the home page.
Could anyone help me how to display description of the post only in home page.
Thanks in advance.
Use the more tag, as simple as that. Read more: http://en.support.wordpress.com/splitting-content/more-tag/
In your index.php (also could be in a separate file like, loop-content or so if your template used get_template_part function), there is a function call, like
the_content()
just change it to
the_excerpt();
and you are done. Read more on Codex.
I've recently installed Jason Tadlock's Members plugin which allows restriction of pages and posts but I have built a site using category pages for the majority of the pages. Could anyone tell me how to apply these restrictions to categories or to display the category template as a "page". Ideally, I'd like the links not to show up in the navigation either so that those who don't have access won't know what they are missing.
Thanks in advance.
I took a quick peek at the plugin, and it looks like although its intention was not specifically for categorical pages, you can still use its shortcode features within your category.php template to build the content how you want.
Without seeing your code, it's a little hard to give you exactly the answer you need, but this should get you started in the right direction:
<?php
$navigation = 'your_navigation_html';
$content = '[access role="editor"]'.$navigation.'[/access]';
echo do_shortcode($content);
?>
This example will hide your navigation from everyone but Editors.
if anyone can figure this out, thanks a million!
I wanted to have my wp install at root level where the homepage displays excerpts of latest blogs but I still wanted the top navigation to point to a "blog" page www.mydomain.com/blog which displays the full latest blog (and allows comments).
I thought I was being clever by creating a new Page Template just for this blog page - I copy/pasted the single post code into this template and created a static page called blog using that template. My permalink structure ensures if would be found like so www.mydomain.com/blog.
It all works beautifully except no comments functionality - I tried googling and trying a few things but comments_template('', true) and variations at various points in the page didnt do the trick. Best I can do is: comments_popup_link('No Comments | Click to Comment', '1 Comment | Click to Comment', '% Comments | Click to Comment');
Please smart people, come to my rescue :)
Thanks!
Create a page and make it your front page.
Visit the Administration > Settings > Reading panel and under Front page displays, you can choose to set any (published) Page or Posts Page as the Front Page.
Create a page called 'blog', and choose this as your posts page in the reading panel.
Hope this helps.