Criss Swaim
Forum Replies Created
-
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Apply title/content filters1.3.6 is available.
You caught me between jobs, so I had the time to look at this.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Remove Post Title HyperlinkI am making a change for the title to apply the title filters before displaying. Since I am making the change and testing, I will add an option title_link=true to add the link tags. Setting it to false will suppress the link on the title.
It will be late today or tomorrow before the changes are done and tested.
Also, the title filtering is misleading and will not work in cases where you are shortening the title….so, ignore that change.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Apply title/content filtersI did think of a reason to not use the get_the_title. The routine to shorten the title counts characters and that needs to be done before applying the filters as I did with the content. So, a bit more testing.
I will set up a test and see how it goes — should get this out late today or tomorrow.
Thanks again for the code & ideas.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Remove Post Title Hyperlinklook in inc/tpg-gp-process.class.php and comment out line 379. I think that should do it. no guarantees without testing ??
Also see post https://www.ads-software.com/support/topic/plugin-tpg-get-posts-apply-titlecontent-filters?replies=4#post-2919751 on applying filters to the title. I would suggest you make the change documented in this post to the title code also. I will incorporate the change in the next release.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Apply title/content filtersCollin:
Thanks for the response. I remember adding the filter to the content a couple of revision back and I did not think about the title. I like your solution as it uses the standard wp processes and will incorporate it the next release. Agreed, it should not alter the display.
Are you applying any content filters and are they working? Testing is the largest portion of the applying some of these fixes. I desk checked the code for the content and it is applying the filters, but not sure I have really done any specific tests to verify it works as planned.
If the content looks good, then I will push out the change this weekend.
Thanks again….Criss
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Apply title/content filtersThanks for the code sample. I will look at adding this – but will need to test to see how it changes the existing output. I don’t want to roll out a change that breaks existing designs. Is there a particular reason to use this function instead of the title text?
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Remove Post Title HyperlinkYou will have to modify the plugin to remove the hyperlink. At this time removing the hyperlink is not something that will be supported in the basic plugin.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Pre and Code tagsThe plugin does not insert either of those html tags.
I have seen those tags inserted when a the short-code is entered with a copy/paste instead of typing the code in. Try deleting the short-code and typing it in.
Hi James:
I would suggest looking at the generated html for the UL and then create a user style sheet to override the default style. I suspect, but can’t be sure without looking at the site, that there is a style in the theme that is adding an underline to the ‘a’ tag or is setting a border for the ‘li’ tags.
If you use firefox, you can highlight the item and right-click and select inspect element to get the applied style. I don’t recall if this is basic or part of firebug or webdeveloper add-ons.
If you post the site link I will try to look at it, but not sure how quick I can be about it this weekend.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] dont work with 3.4Just pushed an update to correct this
Are you familiar with the more tag when editing post?
in the post editor on the top row of icons, there is one which inserts a more tag. This tag breaks the post at the spot and a (read more…) link is inserted in the post when displayed.
the tag is <!–more–>.
the shorten_content just counts the number of characters and truncates the post. I can be in the middle of anything. It’s use was to create a list at a specific length for creating menus, but it requires some discipline on post entries.
You can modify the wording on the more tag at either the insertion of the tag or with an option on the plugin.
see if you can use the more tag without any formatting and then add the formatting.
Please post your results.
Hi Rachel:
I am not clear on the problem.
Would you post the shortcode you are using to pull the posts and explain what you would like the output on the read more to be? If you could include a snippet of the post with the link, that would be helpful.
Also, make sure you are on the most recent version of the plugin. There was an issue with read more showing on every post in an earlier release.
Forum: Plugins
In reply to: [TPG Get Posts] [Plugin: TPG Get Posts] Category links not workingThis seems to be resolved. Would you post the resolution here and close the topic.
Thanks
Guess it is time to go read the changes with 3.3.2.
Does the plugin work or is this just an activation error message?
FYI, on three sites running 3.3.2 I just installed the plugin without the error. I will try with the theme you are using to see if there is a conflict with the theme. I am very focused on another project at the moment and so will be a bit slow about researching this.
Peter:
I am not sure why this message is showing up occasionally. When I have seen it, the plugin has installed and run correctly and it is not something that recurs if I deleted and reinstall.
Does the plugin work for you? What theme are you using?