Tanveer
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: core function for child / parent theme file inclusionI found all this confusing unless a core function like get_child_dir() exists. I don’t see any problem in using bloginfo(‘stylesheet_directory’) to access the Child URL, and get_template_directory() OR TEMPLATEPATH – Assumption that templates still reside in the Parent Folder, which usually is the case.
Is this not simple enough to use, at least it worked good for me and I am a beginner to the theme development and this was my first Child theme.I just changed the code – took away the shortcode – and it had worked for me, am putting the code here as it might help someone else, the complete code for the PHP Code Widget is ..
<?php $chArr[] = '-'; $chArr[] = '.pdf'; if ($handle = opendir('pdfdocs')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $pdfdocs[] = $file; } } closedir($handle); } ?> <?php echo '<ul>'; foreach($pdfdocs as $pdfdoc) { //echo '<li> [pdf href="https://floodreliefpakistan.com/pdfdocs/'.$pdfdoc.'"]View '.str_replace($chArr, " ", $pdfdoc).'[/pdf]</li>'; ?> <li> <a class="pdf" href="https://docs.google.com/viewer?url=https://floodreliefpakistan.com/pdfdocs/<?php echo $pdfdoc; ?>">View <?php echo str_replace($chArr," ", $pdfdoc); ?></a></li> <?php } echo '</ul>'; unset($pdfdocs); // it's gone ?>
hope it helps someone.
The one thing still left desirable is that I would like the google’s document window to open in a new window instead of appearing in the same window.
TIAForum: Fixing WordPress
In reply to: CSS Issue in IE ..I have looked at the results of Validator as well, most of the errors or in something I have not written any code for like are related to theme, plugins etc. I wonder if I can do something about those errors.
Few of the errors are reported in the pages I have created using WordPress admin panel, for the pages the HTML is inserted by WordPress. I am clueless as to what I can do to fix this.
TIAForum: Fixing WordPress
In reply to: No light box effect in `nextgen-gallery` ..Thanks, Kyle it did the trick. I wonder why the other plugins failed to do this. I did follow quite a few threads here regarding this but none of them worked well for me.
Thanks AgainForum: Fixing WordPress
In reply to: No light box effect in `nextgen-gallery` ..I even did a ‘reset’ anticipating that it will help sort the issue but have not worked for me.
Forum: Fixing WordPress
In reply to: How to access the Latest Posts page?I am using FlexSqueeze theme could it be a problem?
Forum: Fixing WordPress
In reply to: How to access the Latest Posts page?May be it helps.
The front page I am using has its own menu navigation bar and the default menu bar is not visible when on ‘New’ home page – the front page.
I want to determine the hyper-link which I can use to access the default WordPress home page.Forum: Fixing WordPress
In reply to: How to access the Latest Posts page?Yes I have created a blog page, with default template. But when clicked – https://linerhanger.net/?page_id=47 – the link for this blog page it fails to take me to the home page which I am able to see when when the option “Your latest posts” is checked?
Forum: Networking WordPress
In reply to: User Password at the time of Creating the Sub-DomainThanks for pointing out towards this post. Unfortunately I missed on that post.
Forum: Networking WordPress
In reply to: where is wp_options table in multisite?It is RESOLVED and am able to use
Wildcard domain Redirection
fro my Addon domains as well, for an installation hosted on Psek. I did confirm them again and they say you can setup such redirection on any of your’s Addon domain with a redirection like *.domain.com –> domain.com yourself, and the other configuration options will be setup automatically.
Looks like something new and exciting on offer by Psek ppl?
Main Domain: https://legisblogs.co.uk, [Configured Sub-domain Domain] https://timbishop.legisblogs.co.ukAddon Domain:https://legalbloggers.co.uk, [Configured Sub-domain Domain] https://timbishop.legalbloggers.co.uk
TIA
Forum: Networking WordPress
In reply to: Changing the default upload folder locationSorry was out of my work place.
I figured it out that it was the missing .htaccess file which was causing the problem, don’t know whether it is correct or not.I just put the .htaccess file from the location I copied the other files for the installation and it work’d perfectly.
This is the source installation: https://legisblogs.co.uk, and here is the target which was causing problem https://legalbloggers.co.uk
Thanks for your support.
Forum: Networking WordPress
In reply to: How to change default footer text ..Contacted the WP MU people and the all it required was to remove a file wp.mu.php from a folder named mu-plugins.
I instead opted to put my personal hyper-link in that.
Thanks for all your kind advice.Forum: Networking WordPress
In reply to: How to change default footer text ..Yes, it was initially installed by the Psek People.
Forum: Networking WordPress
In reply to: Post and Page links not working ..Thank you very much Andrea for giving me the right direction, I didn’t have any .htaccess file at all, copied one from the old domain and everything is working fine.
Thanks again.Forum: Networking WordPress
In reply to: Changing the default upload folder locationOh sorry, it is just type mistake by me when writing the post.