Tech4Eleven
Forum Replies Created
-
was hopeful about this code but doesnt work on custom post types. I use this code from here: https://www.ads-software.com/support/topic/plugin-wp-favorite-posts-thumbnail-and-exerpt-in-favorite-page-view-blog-look?replies=10 to get my favorites page working but that code doesnt show the post content, only the excerpt. need a mix of these two..
anyway to show post content instead of excerpt? using
<?php echo apply_filters('the_content', $post->post_content); ?>
instead of yourecho $p->post_excerpt;
but it doesnt show anything. any help is appreciated.Forum: Plugins
In reply to: [WP Favorite Posts] Custom post typeAlexsean, this fixed it for me too! I’m using a custom post type and I could click to favorite but it would never add it to my list page. I could even favorite a post on the post single page and it wouldnt list it. your code fixd both my issues!!!!
thank you so much.
Forum: Fixing WordPress
In reply to: Display post background color based on post tagok, this is really stupid and really awesome at the same time. but while trying to implement your ideas above, I discovered that I didnt to change the custom post type template at all but all I need to do was to add a class to my css!! I had been using the exact slug what wordpress gave me in the dashboard for my tags but when I looked at the code, all the words in the slug where separated by dashes, for some reason, so in the dashboard for the tags, it listed:
tag name: Specialty Sundaes
slug: specialtysundaesbut the code was saying “specialty-sundaes” so when I added a class for .specialty-sundaes in the css, it worked perfectly. I dont understand that but Im glad its working.
thanks for your help.
Forum: Fixing WordPress
In reply to: Display post background color based on post tagI am working with strappres. its trying to build in a custom solution so asking here. Within strappress, I am working with a custom post type. here’s my custom post type template code: https://pastebin.com/FcDs0Kg2
I posted the entire template so you can see what I’m working with but the section that prints the post on the page, I have commented with “<!–THIS BEGINS MY POST BOX, INCLUDING TITLE AND CONTENT OF POST –>”
If I add a background color in the css to .menu-container then it colors all the boxes, but that makes the background for all posts the same.
This screenshot shows my site: https://dl.dropboxusercontent.com/u/1518168/2013-04-17_125407.jpg
sorry I cant post the url. Im building the site with the theme test drive plugin. But in the screenshot, you see that the custom post type template (code above) pulls in these posts. the buttons on top left are the tags of the posts so when you click on one, it shows those posts – works like a filterable gallery. So for each post tag, Id like to that that tags posts have a different background color.
I thought I was close with a tutorial like this: https://wpsnipp.com/index.php/css/add-custom-body-class-for-specific-pages/
And whats not working, is the background color. everything I try doesnt apply any background color to the posts, whether here in the custom post type of the single post. Thanks for helping.
Forum: Fixing WordPress
In reply to: Display post background color based on post tagive been looking at that class but its not making much sense. any more direction?
what Im basically looking to do is:
if tag (or tag array), apply this class
Forum: Plugins
In reply to: [FitText.js, a jQuery plugin for inflating web type] How to use thiswell not knowing what Im doing I put this in my widget
<div style="background-color:#BBC34C; text-align:center; padding:20px;"><h1 id="fittext2">ICE CREAM</h1></div> <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#fittext2").fitText(); }); </script>
and it works. my site is responsive using twitter bootstrap so right now the text is about 60px on the desktop but very very small when on my iphone. how can I make it fill the div no matter what?
Forum: Plugins
In reply to: [GC Message Bar] GC Message Bar: Action Target To New Window stays checked …i have 1.0.2 and this happens for me too.
I get the same message. If I choose the blog page as my posts page, it breaks my blog. has to do with my theme and the blog template page. But even when I do set the blog as the posts page, the plugin doesnt work, although the error does away. any help?
Forum: Fixing WordPress
In reply to: Page permalink with number at endWell, I got thinking even more on this and went to the database. I first deleted the page and then deleted it from the trash in WordPress. Then in DB I did a search for “blog-3” found it and deleted the entry. Then I could create the blog page again and the permalink is just blog.
I think the permalink is associated with pages ID # and thats why it needs to be gone from the site completely.
Do I really have to do this every time this happens?
Forum: Plugins
In reply to: [Perfect Images] Error on uploadHeres what works:
-I can install the plugin
-Activate the plugin
-The plugin searches my media library and finds the files which need retina sizes
-I can tell it to ignore any fileWhat doesnt work:
When I chose upload for any image, I get what my first post describes.So I would say that the plugin does not work….with my site anyway.
Forum: Plugins
In reply to: [Perfect Images] Error on uploadyes. just upgraded to your latest today.
Forum: Plugins
In reply to: [Perfect Images] Error on uploadIm getting the same error. Could it just be my site?
+1 (although sometimes you need to edit the header. I had to edit the header of my theme in order to find my childs stylesheet. but maybe you dont have to do that with the plugins above.
are your customizations in your childtheme’s stylesheet or just in the themes stylesheet?