raj137
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Bug- Query display with arrayHi,
Thanks for your response. I could figure it out today and was going to close the post. It was a mere cache issue that I had to clean up. Some problem in my computer for IE.
Moreover, I had to correct the category as ‘category_names’ in the code to get the array working.Best Regards,
RajivForum: Networking WordPress
In reply to: Adding external website sidebar to wordpress sidebar areaAnd for widget, I am not able to understand how I can use it.
As I said before, I do not mind even going otherway i.e. putting WP sidebar on non-WP site. If that is an easier option.
Forum: Networking WordPress
In reply to: Adding external website sidebar to wordpress sidebar areaThanks for the links.
I guess being a rookie in this area, it is a bit difficult for me to implement it. For the first link you gave, I used it as follows:
<?php
$response= wp_remote_get(‘http://localhost.com/rightnav.php’);
?>
I can see sometimes the data appears (though not in good format) and sometimes not. I guess I need to increase some sizes in CSS stylesheet. Any suggestion on this?Forum: Networking WordPress
In reply to: Adding external website sidebar to wordpress sidebar areaYou mean WP theme?
Yes, my WP theme has a separate file sidebar.php. However, when I call the link htttp://localhost.com/blog/sidebar.php I am able to see whole web page.
I tried to add the sidebar using command
<?php
include(‘htttp://localhost.com/blog/sidebar.php’);
?>
If you can share your mail-ID, I can send you the files.
[moderator note: please keep the topic within the forum; you can share files via pastebin – http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]Any change (either replacing WP sidebar or replacing static website sidebar) is okay for me. Whatever, you think is easier.
Thanks in advance!
Forum: Networking WordPress
In reply to: Adding external website sidebar to wordpress sidebar areaHi,
Thanks for your reply!
I had initially created the static pages in HTML with two column approach. Then I changed it (by changing extension to .php) to the PHP files. Later, I made one file called rightnavigation.php that I am calling to all static pages.Currently, I am looking at replacing this rightnavigation.php by the sidebar of wprdpress website. This will help me use standard widgets and keep advertisements at one place (across both non-WP website and WP website).
Hope this is detailed enough. Please let me know if you need more info.Thanks!