Ruturaaj Patki
Forum Replies Created
-
Forum: Plugins
In reply to: Nextgen Gallery: thickbox not workingI faced the same problem with one of my sites. Then I disabled “Minify” option of WP Total Cache and everything started to work fine.
Forum: Fixing WordPress
In reply to: Using Custom Field To Show 5 Posts of Category<? $query = new WP_Query( array ( 'Category_name' => $artistcategorygetter, 'posts_per_page' => '5')); ?>
Just noticed one thing… your PHP opening tag. Although it’s valid to open PHP with <?, my Server doesn’t allow me to have such notations for PHP start tag. It forces me to have “<?php” as opening tag.
Forum: Fixing WordPress
In reply to: Javascript not workingThe only way I can get anything to happen is to change the template drop down to “raw”
This is not giving me any clue, my friend. BTW, I checked the JavaScript file and found that it’s simply the Form validation JavaScript file that (probably) takes the user to “https://www.moresolds.com/leads/form.asp” if everything is fine. Not sure if I’m correct here, but surely it does not have any Form code in it. You may better try Weaver II user community or just hope that someone who is familiar with this theme may find your question here in this Forum and help you with your issue.
Forum: Fixing WordPress
In reply to: The uploaded file could not be moved to …/wp-content/upLoadsNot sure if this is the solution for you; but just in case if nothing is working for you with uploads folder, you may try creating another folder and set it to use as Uploads folder from your WordPress Admin Dashboard – Settings – Media.
Under Media Settings, you can set your own Uploads folder. So, create a new one with all required permission settings, then put a relative path to that folder with reference to wp-content folder in “Uploading Files” – “Store uploads to this folder” field. See if this works.
Forum: Fixing WordPress
In reply to: Using Custom Field To Show 5 Posts of CategoryFrom your description, it looks like you’re able to gather the Category name from Custom Fields. In that case, see the code below:
$query = new WP_Query( array ("category_name" => $artistcategorygetter, "posts_per_page" => "5") );
Once your $query object is set, rest of the things are same as regular WordPress loop.
<?php if ($query->have_posts()) : ?> <!-- here goes your DIV container HTML. --> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <!-- here goes your post content block. go on using the_title, the_content etc. as and where required. --> <?php endwhile; ?> <?php endif; ?>
Well, I must submit one thing here… I’ve directly typed the code above in this comment area. Please be aware of syntax errors due to my typing mistakes. ??
I hope this helps.
Cheers,
Ruturaaj.
Forum: Fixing WordPress
In reply to: Customize WordPress search widget button textThe Search Form can be customized using searchform.php file. Just put your own Search Form code over there with your own custom CSS and you’re done. Codex Template descriptions will help you understand what should go inside searchform.php file.
This link may help you: Styling Search Forms.
Cheers,
Ruturaaj.
Forum: Plugins
In reply to: [Contact Form 7] New shortcodes dont seem to workJust to submit… I’m using the latest stable release fetched from WordPress Plugin Repository and my installation of Contact Form 7 is working fine.
Same here. Can someone please help us to setup the Slideshow?
Forum: Plugins
In reply to: [Events Calendar] [Plugin: Events Calendar] Problem with hoursYes. I faced the same issue and attempted to trace the cause of it. I think this has something to do with MySQL. The Events Calendar plugin stores its data in separate database table “[prefix]_eventcalendar_main”. I checked the structure of table and found that endTime and startTime are set as “Time” data type. So somewhere the “NULL” is getting translated as “00:00:00”.
I know this thread is one month old; but just wish to keep my work-around trick posted here for others. I’m sure there must be some other better way of avoiding it; for me, it was truly a time sensitive issue as the dead-line was approaching fast! ??
Open “ec_js.class.php” file and find the function “calendarDataLarge” (since I wanted to make correction on front-end; not much worried about Admin; I know Admin is smart enough to clear the fields whenever he edits the event data!).
Scroll down the function-code until you find following line:
$startTime = date($options['timeFormatLarge'], mktime($ec_starthour, $ec_startminute, $ec_startsecond, $ec_startmonth, $ec_startday, $ec_startyear));
Add following code below it:
if ($startTime == '12:00 am') { $startTime = null; }
Similarly, find the similar code-line for $endTime and add above code with corrections in variable names of course. This should show the Start Time only if you put in. The down-side of this trick (and the reason why I strongly believe a better solution must exist) is that you ever won’t be able to specify “00:00:00” as your Start Time or End Time for any Event. In my case, it couldn’t have been the case ever, so the above work-around was good for me to go with and complete the project in time.
Now that I may require to use this plugin again in another project, I think it’s time again to look into this issue and find a better solution. Your suggestions are welcome! ??
Cheers,
Ruturaj.
Forum: Fixing WordPress
In reply to: List Terms of Custom Taxonomy in functions.phpAny comments guys?! Just wondering if I’ve asked something too simple for experts to ignore it happily or just too difficult that experts are still finding the solution?! Either be the case, friends, please don’t keep me guessing… let me know what you’ve to say on the issue I’m facing…