Ive looked around and cant find anything about this. Im quite supprised this isnt an option really but, im using the standard wordpress archive widget and i want to hide any month that does not have posts in it. How difficult can this be. Where is the code for this wideget and how can I add a piece of code to hide empty months?
Try this plug-in:
Norman Advanced Archive Widget: http://wordpress.org/plugins/norman-advanced-archive-widget/
Related
I am trying to restore the missing titles to posts in my categories, tags, search pages.
I vaguely remember changing something but don't know where. It was a long time ago.
The problem is so bad that if there is no 'read more' button, you can't click on a result to go to the page.
Any tips about how to find where this code change would be located?
Thanks.
if you know what the code was there is a plugin called string locator (https://wordpress.org/plugins/string-locator/) it allows you to give a small snippet of code or a call and it will tell you every place that code is found in the entirety of WordPress.
OK after quite a while of various methods, I re-installed the plugin 'yellow pencil'. I had made some customizations that the plugin claims to be reversible at the click of a button globally (It didn't delete them). I found a post title that did appear and then reverted all customizations globally to it on a live category page. Thank god it all works as it should now!
Thank you to all that tried to help me.
I'm trying to edit the checkout page of woocommerce. the place where it says in this link, new user/registered user. Instead of the text i would like to have button placed to perform the same action. I'm a noob and trying to develop something on my own and learn. Its a woocommerce platform and have created the child theme as well. Any help with the answers, code and suggestions will be much appreciated.
http://www.chocozonia.com/checkout/
user3079582 since you say you are only just beginning to learn WooCommerce, StackOverflow is not the best place to start. You'll find much more useful material for beginners in Woo Docs
About your question, I don't see new user/registered user anywhere on the page that you gave the link for. In any case, if you are interested to change any part of a WooCommerce page, you should look at the WooCommerce Template Structure Documentation
I have never used wordpress as a cms for a site so please forgive my obliviousness. I tried to google this for a bit with no luck, I think I am either phrasing this wrong or thinking about it incorrectly.
I have page on wordpress that I would like to feed in a bunch of "news" posts. Can I code this within the actual page (like the text input section). How would I go about doing this. Is it possible to have a plugin or some shorthand code that would feed in all the posts with a certain category, and further more is this possible to do within just the general page editor (just within the wp-admin panel). Again, sorry for my obliviousness, I feel like this is probably a pretty simple answer, but I haven't worked on wordpress in years.
Thank you for your time!! Any points to the right direction would be incredibly helpful.
You can try:
[display-posts tag="advanced" posts_per_page="20"]
This will list the 20 most recent posts with the tag ‘Advanced’.
For more options, check this: http://en.support.wordpress.com/display-posts-shortcode/
I want to add a google maps widget to Pages on a Wordpress site. They all have the same Template with a Sidebar but the map will be unique for each. I feel like there should be a way to populate the widget from the edit page screen for that Page. Does each Page actually need it's own Template?
This seems limiting maybe I'm missing something. If the question is unclear I let me know but I think this should be something ppl have run up against before.
I would suggest the integration of a wordpress plugin to accomplish this. It will be fairly easy to do.
If you want to do this without purchasing any 'pro' versions of a plugin and don't mind writing some simple code, then I would suggest Simple Google Map. You will have to insert a shortcode into the widgetized sidebar area. Here is the plugin link - http://wordpress.org/extend/plugins/simple-google-map/
In order to customize each page's sidebar area, You need to write some code. Please refer to this article which will explain how http://www.wpbeginner.com/wp-themes/display-different-sidebar-for-each-post-and-page-for-wordpress/
It involves a simple alteration of your 'single.php' file and the usage of 'custom fields' so that you will be able to do this from the edit screen of the page, just like you wanted to do!
Use a plain text widget for each map and Widget Logic to select the page it appears on: WordPress › Widget Logic « WordPress Plugins
I'm having trouble with modifying the way comments are displayed.
Currently they are always displayed as "Comments (%)". Changing the code that's displaying the comments to doesn't seem to do anything.
Where can I properly change the way # of comments are displayed?
I'm using the primepress theme - http://www.techtrot.com/primepress/
Blog link - http://stringo0.teamjl.net
My goal is adding a comment bubble displaying the number of comments - any easier way to do this is appreciated as well!
Everything you need to know about what's available in showing comment meta: Template Tags/comments popup link « WordPress Codex
Not familiar with that particular theme, but in some there are multiple references to the comment functions, depending on the context (eg display single post, multiple posts, search results, page, etc). So check all the php files for references to the comment functions.
I'm not sure why, but the comments_number and related popup function didn't work for me. I think it's because of some filters interfering, not sure which ones - could be the intense debate commenting plugin, because I noticed that it redirects to a different anchor (#idc...).
I ended up using another function, called get_comments_number which I found by looking into the wp source code.