Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • I am having the exact same issue as the original poster. I have to say that your plugin is far and away the best calender plugin I have tried. We have a band website that simply needs to post their live performance schedule and I have spent about 6 hours today trying to get a simple calender to work. I love the fact that I can have it create a post that shows up on the bands home page as a new item but on their Live Events page I just get a blank calender.

    I would very much appreciate it if you could take a look into updating your plugin as all of the others I have used are more complicated than they need to be and yours is seriously exactly what I need.

    Thanks a bunch in advance. If you want to see the site, it is decadexband.com

    Thanks in advance!!!!

    If you want to use a widget for multiple pages you can do that by using separating the calls with two of the pipe symbols like this…

    is_page(‘page-name1’) || is_page(‘page-name2’) || is_page(‘page-name3’)

    When you have the plug in installed whatever page you want to have that widget appear on simply put is_page(‘page-name’) in the widget logic field. That pulls that widget just for that one particular page. You can do the same thing for single posts using is_single(‘post-name’)

    All you have to do to get it to show up on the home page is add this to the widget logic code: is_home() I would try placing that at the beginning of the widget logic code and then after it, use a double pipe symbol as a separator. Example… is_home() || in_category(‘7’)

    That tells the widget to display on the home page, as well as in category 7. If you want the widget only on a specific page, or category you can use ‘is’ instead of ‘in’.

    For adding something to many different types of pages, you could set very specific criteria by using a combination of ‘is’ and ‘in’.

    For example, you could have single post display a widget by setting the criteria to be: is_single() && in_category(‘7’) .This would allow any single post to display a particular widget if that post was ALSO found in category 7. If only part of that criteria is met, the widget will not be displayed.

    Now if you wanted any particular post to display ONLY that widget, you would input the name/title of the post into the field like this: is_single(post-name) && in_category(‘7’) . This would make that post only display that widget if it had the proper name AND was assigned to category 7. The is_single() would mean that any single post would display the widget, regardless of category it was assigned to.

    Hope this helps! Let me know if you need some better clarification. I am new to this too but have been working on it extensively for a bit now!

    I just tried it in Widget Logic and could not get it to work for me.

    I did get everything to work using this:
    is_page(‘page-name’) || is_category(‘category-name’) || is_single() && in_category(‘category-name’).

    Since I don’t want to use the categories for SEO purposes, after I built the categories, I can now assign a post to a category but on the site itself, I just make sure the category widget is not shown and that keeps my URLs clean.

    Thanks for taking the time to mess around with it. Your input is appreciated!

    I also just got the single posts to be able to pull in the proper images and forms using widget logic by using this:
    is_page(‘page name’) || is_category(‘category name’) || is_single() && in_category(‘category name’).

    The thing that is really cool about this is that for SEO purposes, I did not want to use categories since it make the URL string to diluted to have the word “category” in it.

    Now, to be able to have this work and not use categories….I set up categories in the dashboard, when I make a post, I assign it to a category, but in my navigation I do not show the categories!

    Doing this keeps the link count on the page lower (better for link weight distribution), keeps the URL as strong as possible, and still allows me to use posts on a category based topic to pull in the proper images and forms.

    Hope this helps! A big THANK YOU to the people that have helped me get this going. Especially Alanft!

    Thanks Alanft. I am using that and it is working fine.

    I have another question for you that I will start another thread for.

    Thanks in advance!

    Another thing…

    I can get this to work using categories, but since categories can mess up my URL strength I am needing to try an not use them at all if possible.

    I am not a code writer so your help is very much appreciated!

    Basically I need a keyword in the slug to set the condition as to which widget to use.

    That is a step in the right direction. The only problem is that I would need to create a new condition for every post based on the exact URL slug. What would be ideal for me would be to be able to have a post automatically display the proper widget based off of a term in the slug instead of the exact phrase.

    My websites are about ‘insurance’ of all types. So if I put up a post about “dental insurance”, and the slug is /dental-insurance, have the term ‘dental’ in the slug be the condition that pulls in the proper widget.

    I think it would need to be something like is_single() slug contains(‘(keyword’)

    Really appreciate you help so far. I have been working at solving this for a while now!

    I did the same type of thing where I created six different widgets using the is_page(‘pagename’) and uploaded the 6 different images, and then copied the URL into the widget for each specified page.

    You can see how it works here: https://www.checkinsurancequotes.com

    I am also trying to get different images to show for individual posts based on their topic but so far can only get it to work in select categories, but not on the individual posts. Any ideas?

    Hi Michelle. I was looking to do a very similar thing and I got it to work somewhat using the is_category(‘category name’) instead of the in_category(‘7’) that you stated.

    I really wish someone would address this. I would like to have a single post display one of about 6 different widgets based on the URL slug but nobody seems to be able to help with that either.

    I am having a very similar issue. I was wondering if you could do this based on the URL slug of the post and use that to actually call which widget is used.

    Did you ever get this resolved?

Viewing 12 replies - 1 through 12 (of 12 total)