arpitap
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: write php or shortcode into custom menu linkThanks vtxyzzy for your reply.
I want to give this link in custom menus.
Actually we are using 2 databases in wordpress so i have set up whole site on sessions and we want to display that session variable as ?HotelID=session variable and this links are in custom menu that why I am not able to write php in there.
Forum: Fixing WordPress
In reply to: write php or shortcode into custom menu linkactually what I want to pass is http://adomain.com/apage/?HotelID=<?php echo SESSION[‘HotelID’]; ?>
Forum: Fixing WordPress
In reply to: scripting the site's path in wp 3.0 custom menu linksI also want to know if this is possoble.
Thanks,
Arpitalet me know if you find some solution for this.
Thanks,
ArpitaForum: Hacks
In reply to: Permalinks and mod_rewrite – how to make query url look like directoryI want similar thing :
I am passing HotelID and suburb in url as:
http://www.sitename.com/Hotel-Detail/?HotelID=AAA&suburb=test
so is there any way to convert it into :
http://www.sitename.com/Hotel-Detail/AAA/test
if there is some way then please help me here.
any help would be appreciated.
Thanks in advance.
ArpitaHey Jeff!
Its really weird, because I am using this plugin in multisites and it has same unique ID for both sites as they are in multisite.
Unique ID is: 1005
Before it was not working the first site on first time loading of the page in firefox, then it start working itselft by doing anything special on my side.
Now I am using it for another site in this multisite group and I am facing the same problem. Can you tell me why its happening and how I can solve it?
Thanks,
ArpitaForum: Fixing WordPress
In reply to: "Cannot send session cookieȚcan you explain how you did????
Thanks,
ArpitaForum: Fixing WordPress
In reply to: Hopelessly Lost Please help!! – $_SESSIONHi fOObar,
I tried this but it is still not working for me.
Can you tell me what I could be doing wrong?Thanks,
ArpitaForum: Fixing WordPress
In reply to: Query posts by custom fields valueHey! Mark,
Thnaks for the solution, it worked for me.
Thnaks a lot.
Arpita
Forum: Plugins
In reply to: Need php page pluginHi James,
I know the option which you have suggested, but I want to have some permanent solution for this, so can you help me with that.
Because the solution you suggested is means if I forget to disable visual editor from user profile then I will lose my php code and it also doesnt help if I want to write php code and also want to do styling using visual editor.
Any help would be appreciated.
Thanks,
ArpitaForum: Plugins
In reply to: [Frontpage-Slideshow] [Plugin: Frontpage-Slideshow] Slides not auto-loadingits firefox, not fireworks sorry.
Forum: Fixing WordPress
In reply to: give page id specific conditions when using pretty urls in wordpressHey thanks Michael!
That was my fault, it was not working because I was using $_GET[‘page_id’], but now its working.
Thanks for quick reply and to solve my problem.
Arpita
I made changes in display_day function which is in table.php file.
the file is under views folder in the plugin.
at line 120:
in place of
<div id=’event_<?php echo $eventId; ?>’ class=”tec-event
<?php
foreach((get_the_category()) as $category) {
echo ‘cat_’ . $category->cat_nickname . ‘ ‘; //Arpita
}
?>
“>I replaced it with :
<div id=’event_<?php echo $eventId; ?>’ class=”tec-event
<?php
foreach((get_the_category()) as $category) {
echo ‘cat_’ . $category->cat_name . ‘ ‘;
}
?>
“>
<?php
foreach((get_the_category()) as $category) {
if($category->cat_name == ‘Professional Planner Events’)
{
?>
” style=”color:#990066;”><?php the_title(); ?>
<? }
else if($category->cat_name == ‘Media Partner Events’)
{
?>
” style=”color:#0099CC;”><?php the_title(); ?>
<? }
else if($category->cat_name == ‘Industry Events’)
{
?>
” style=”color:#339933;”><?php the_title(); ?>
<? }
else if($category->cat_name == ‘Webinars Events’)
{
?>
” style=”color:#CC0000;”><?php the_title(); ?>
<? }}
?>basically what it is doing is getting sub category name and based on that subcategory, it will display different color title.
I don’t think this is proper way to do it but still it is working fine for me.
Let me know if you need anymore help in this from me.Arpita
Forum: Plugins
In reply to: [wp-forecast] [Plugin: wp-forecast] change weather location for each pageThanks Hans for your help.
I will try that and let you know if it helped.
Arpita
I will post the answer by end of this week for sure.
I am running busy somewhat that’s why not able to post it, but will do it by end of this week.
Cheers,
Arpita