Patrick Jackson
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts in Page] Show full postHi HappyEcho,
You should be able to make a duplicate of the template so that you have two templates: one for the list of posts using the excerpt, and one that uses the full content. You would put them both in your theme directory, each with a unique file name.
Then you can use the
template
attribute to refer to the appropriate template.So, if
posts_loop_template.php
was the version showing the excerpts, andposts_loop_template_full.php
showed the full content, then you could use the following shortcodes on your pages.[ic_add_posts template='posts_loop_template.php'] [ic_add_posts template='posts_loop_template_full.php']
I hope that helps!
Forum: Plugins
In reply to: [Bing Translator] User Stats for Bing TranslateHi Jill,
You may want to check out Google Analytic’s Event Tracker. It allows you to track statistics on specific events such as button clicks.
It’s my understanding that the work of translating and displaying a page is performed on the visitor’s browser using JavaScript, and on Bing Translator’s servers. While an individual user may experience slow performance if their computer us overworked, I wouldn’t expect other visitors to be impacted, and I wouldn’t expect this plugin to be a major contributor to overall load on the server.
Having said that, I might by wrong! So, you might also consider using browser based analytical tools such as firefox’s firebug, an online webpage speed test, or a WordPress performance profiling plugin such as P3.
I hope some of that helps!
Forum: Plugins
In reply to: [Posts in Page] woocommerce support?I haven’t tried to work with WooCommerce much with posts in page, but I may be able to shed some light.
Insofar as things like products are implemented in WooCommerce as Custom Post Types, they can be listed like any other custom post type with the Posts in Page (PiP) plugin. However, PiP was not designed to support WooCommerce specifically, so it wouldn’t be aware of any custom attributes or behaviors.
If you wanted to create a list of Products using PiP, you could use the post_type attribute:
[ic_add_posts post_type='product']
Hope that helps!
Forum: Plugins
In reply to: [IvyCat AJAX Image Slider] Navigation is not workingHi Jeney,
Thanks for bringing this to our attention. I can’t reproduce the issue with the information you’ve provided.
Can you provide a link to a page that illustrates the behavior you’re describing?
Does the behavior persist when you switch to a default theme such as Twenty Twelve, and disable all other plugins? In other words, is the plugin conflicting with your theme or another plugin?
Forum: Plugins
In reply to: [Posts in Page] How to exclude posts from a categoryHi Jason,
I don’t think you can enter individual posts to exclude, but you CAN exclude categories with the
exclude_category
attribute. So you might create a category called ‘exclude’ and add the posts to exclude to that category.If I have a categories called cat1 and cat2, and there are some posts that belong to both categories, then the following should display those posts that belong to cat1, but exclude any that also belong to cat2.
[ic_add_posts category='cat1' exclude_category='cat2']
I hope that helps!
Forum: Plugins
In reply to: [Posts in Page] the first post is doubleHi szarada,
I’m sorry to hear you’re having this issue. I haven’t seen this issue before, and from what you have given me so far, I can’t reproduce it. Can you provide a link to the page, and tell me more about how what’s going on on that page? Do you have any plugins that might be conflicting?
Forum: Plugins
In reply to: [Posts in Page] Not abel to put my blog inHi bhim1221,
Yes, from what I am seeing, I would expect the drop shadow effect to be applied to the whole group of posts, rather than each individual post.
You will probably have to add some custom CSS to get the effect you are looking for.
I think if you add something like the following to your stylesheet it will get you close.
.ivycat-post { box-shadow: 10px 10px 5px #888888; }
I hope that helps!
Forum: Plugins
In reply to: [IvyCat AJAX Testimonials] Conflicts with Blubrry PowerPress pluginHi brettbum,
Thankyou for the heads up about this possible conflict. Can you give me a link to the page(s) where you’re seeing the issue?
It looks like the Blubrry plugin adds the podcast metabox to all posts, including the testimonials, so I have to ask: did you add a podcast url to any testionials?
Forum: Plugins
In reply to: [Posts in Page] Post Limit Isn't WorkingHi jakekimpton,
I can’t say for sure what’s causing this, but my first suspect would be a plugin or theme conflict. For example, if your theme sets the number of posts, then I think that’ll override the PIP plugin’s showposts.
You might try swapping out your current theme with a default theme for the version of WordPress that you’re running, like Twenty Fourteen, and see if the number of posts showing is correct. If that doesn’t work, then I’d try turning off all other plugins to rule out a plugin conflict.
Forum: Plugins
In reply to: [Posts in Page] Post not showing in pagepozinoz, I looked at the link you posted, and would give you the same advice. I didn’t see evidence of the shortcode working on that page.
Also, when you’re using the tag or category attributes, you only need to use the slug as the value. You don’t need to prepend a “category-” or anything unless that’s actually part of the slug.
You can find the slug by navigating to Posts->Tags or Posts->Categories, and looking in the table. You should be able to simply copy the value in the Slug column and paste it in to the shortcode.
Forum: Plugins
In reply to: [Posts in Page] Post not showing in pageHi Kristi,
I looked at the page you posted, and didn’t see any evidence that the shortcode is running on it, so that’s a piece of the puzzle.
If the shortcode is used, but doesn’t find any posts to list, then there are still some tags inserted into the page that look like the following.
<div class="post hentry ivycat-post"> <code> <span class="pip-not-found"></span> </code> </div>
So, unless the shortcode wasn’t used on that page after all, then my next suspicion would be a theme or plugin conflict. Sometimes there can be code in your theme or another plugin that interferes with this one.
You can test for this by turning off all other plugins, switching to a default theme (such as twenty fourteen, or whichever came with your version of WordPress), and seeing if the issue persists.
Forum: Plugins
In reply to: [Posts in Page] 1,2,3 Numbered PaginationHi sweettea2,
Unfortunately, I don’t know of an elegant solutions to this. I’d be interested to hear other ideas.
The only thing I can think of offhand would be to create your own custom plugin from the original so that when updates are published they won’t overwrite your customizations.
To make the plugin custom, you’ll need to edit the header information located in the
posts_in_page.php
file. That header looks like the following./** * Plugin Name: Posts in Page * Plugin URI: https://www.ivycat.com/wordpress/wordpress-plugins/posts-in-page/ * Description: Easily add one or more posts to any page using simple shortcodes. Supports categories, tags, custom post types, custom taxonomies, and more. * Version: 1.3.0 * Author: IvyCat, Inc. * Author URI: https://www.ivycat.com * License: GNU General Public License v2.0 * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: posts-in-page * Domain Path: /languages * * @package PostsInPage * @author Eric Amundson <[email protected]> * @copyright Copyright (c) 2014, IvyCat, Inc. * @license https://www.gnu.org/licenses/gpl-2.0.html */
Basically, you just need to change the name of the plugin. You’ll need to change the first line that says
Plugin Name
to something like “My Posts in Page
“. Optionally, you can edit the other fields, such as author, etc.After that, change the name of that file to
my-posts-in-page.php
, and change the name of the directory tomy-posts-in-page
as well.When you return to your list of plugins on the back end of your site, you should see your custom plugin listed and deactivated. Activate your plugin, and it should work like the old one did.
Your custom plugin should no longer be tied to the original on the www.ads-software.com site and you should be able to make any changes you like without them being wiped out by updates.
If you’re familiar with Git, we have a github repository you can fork: https://github.com/ivycat/Posts-in-Page.
I hope this helps!
Forum: Plugins
In reply to: [Posts in Page] Post not showing in pageHi kristifof,
Have you looked at your shortcodes in
Text
mode in the visual editor? Sometimes when you add a shortcode inVisual
mode (usually when you paste it), extra characters can be inserted behind the scenes and cause errors. Viewing in text mode makes those characters visible, and you can fix the shortcode.If that doesn’t help, can you provide a link to the page you’re talking about? Maybe I’ll see something in the HTML that will help.
Hope that helps!
Forum: Plugins
In reply to: [Posts in Page] How to display full post in pageHi eclipsetalk,
When you say toggle, do you mean that you want to have a link or button that triggers showing/hiding the full text on the same page?
If so, I’m not sure of an easy way to do that. The only way I can think of would be to add javascript to the template, and that would be somewhat advanced. A detailed discussion is beyond the scope of what I can go into on this forum, but I’ll try to give you some ideas.
Once approach would be to include both the excerpt and content versions of the text, but use css to make the content version initially invisible. The exceprt and content would each need their own container with a unique id (especially if you’re going to have more than one post on the same page).
Then you would add a link to trigger the jQuery toggle function, and adding code so that when the link is clicked, the css on the hidden content is set to visible, and the css on the visible excerpt is set to hidden. When the link is clicked again, you reverse that.
Here’s a link on the topic. If you google the topic of showing and hiding text, there are many tutorials that can help.
I hope some of that helps!
Forum: Plugins
In reply to: [Posts in Page] Please- any easier way to add featured image?Hi savoringsaturdays,
I’m glad you love the plugin, and I certainly understand your trepidation about not wanting to wade in to coding a custom template, but I’m afraid that’s the easiest way I can think of to get those images in right now.
I may see if I can find some time this week to write a tutorial, and post it on IvyCat’s site.