kokicf
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: posts_nav_link images<ul> <li id="previous"><?php posts_nav_link('',' ','<img src="' . bloginfo('template_directory') .'/images/prevbttn.png" />') ?> <li id="next"><?php posts_nav_link('','<img src="' . bloginfo('template_directory') .'/images/nextbttn.png" />',' ') ?> </ul>
I tried this, and the URL to the image path got printed out with the image still missing. Can someone please help?
Forum: Fixing WordPress
In reply to: If / Else If Custom FunctionJust dump everything to the screen whilst writing the code
How do I do that? My knowledge of php is limited to what I find in the WordPress Codex’s template tags section at the moment.
Forum: Fixing WordPress
In reply to: If / Else If Custom FunctionI put the numbers there because I was replacing sensitive data (it’s there as an example). That’s why there are so many numbers. In my final code, I’d have a more realistic name, like “photography” for example. Sorry for the confusion.
Forum: Fixing WordPress
In reply to: Image Links not showing upSorry to bump. This issue was solved by using
<?php bloginfo('template_directory') ?>/path_to_image_folder/image.extension
If there’s an easier way please let me know.
Forum: Fixing WordPress
In reply to: Permalinks with XAMPPWhen I go to import my wordpress file on my local site, I receive this error message:
Unable to create directory /Applications/XAMPP/xamppfiles/htdocs/mywebsite/wp-content/uploads/2009/10. Is its parent directory writable by the server?
As for importing my blog, I used these instructions (and everything was transferred over fine with the exception of getting permalinks to work):
and
https://www.scyj.be/creating-a-local-copy-of-a-wordpress-blog/
I also followed these instructions (linking to a google cache since I could not access the site) to fix the permalink problem, but this did not work.