Viewing 15 replies - 1 through 15 (of 26 total)
  • Use a Text widget and put the HTML in it.

    Thread Starter Suneet

    (@suneetpant)

    Thanks it works but only on the localhost.

    Just see errors on my site “https://www.britrip.com”.

    Problem 1 : [ Widgets ]
    After I upload it on the server contents of the right side column which i make using widget not showing at all.

    Problem 2 : [ Menu ]
    Everything is shown correctly in localhost but not after uploading. Why? Pls help.

    Problem 3 : [ Image in the header ]
    It is showing perfectly in localhost, but not after uploading.

    I am not able to figure out, what causing this problem.

    Please HELP ???

    Hi Suneetpant.,

    Its very normal issue..

    Now you move on live server right..

    Please setup again for widget area on live server (not in localhost)

    There are several HTML errors on your site that might be causing a problem. See them here: https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.britrip.com%2F

    Thread Starter Suneet

    (@suneetpant)

    Thanks vtxyzzy for your help. I have remove all the HTML errors wgich were coming before but still Below Three Problems are still there :

    Problem 1 : [ Widgets ]
    After I upload it on the server contents of the right side column which i make using widget not showing at all.

    Problem 2 : [ Menu ]
    Everything is shown correctly in localhost but not after uploading. Why? Pls help.

    Problem 3 : [ Image in the header ]
    It is showing perfectly in localhost, but not after uploading.

    I am not able to figure out, what causing this problem. Pls HELP !!

    Thread Starter Suneet

    (@suneetpant)

    Hi Rajan Pls guide how to setup again for widget area on live server (not in localhost). Actually this is my first website in wordpress that I have uploaded

    What did you upload/copy to the live server. If you copied the entire site, did you use a special tool to replace all the URLs and paths in the database?

    Thread Starter Suneet

    (@suneetpant)

    Well, I have copied the entire site and also replaces all the required Urls. Also I have changed the relevant size of the changed text.

    I manage to solve Problem no 2 and 3. But still not able to show widget on the site. Problem 1 still unsolved. Pls help

    There is no content shown in the sidebar in the HTML on your site right now. Try using just one of the standard widgets, like Archives, to see if that shows up.

    Also, please put the widget HTML in a pastebin and post a link to it here.

    Thread Starter Suneet

    (@suneetpant)

    Pls check : https://pastebin.com/gUUWZc5Q.

    Is this what u asked for?

    What I see in the pastebin is PHP code, not HTML. Please check the pastebin to see if it is the correct code.

    Also, try using just one of the standard widgets, like Archives, to see if that shows up.

    Thread Starter Suneet

    (@suneetpant)

    One of the members guided me to setup widgets once again in live server not in localhost and its a very normal issue. And i m using my clients hosting site named as “ipage.com” WordPress is there but it is somewhat altogether different. Yeah one more thing, i have recently made the same site once again using wordpress 3.8.1 and travelify theme 1.5.1 (latest version) in localhost everything is in perfect order but when i uploaded on the server right sidebar aren’t visible. Still same problem…..

    It sounds like you uploaded the theme, but not the database?

    If you are not syncing your local database to the remote server, as well as uploading the theme then none of the content you’ve added locally, such as text widgets, is going to appear on your remote site.

    Thread Starter Suneet

    (@suneetpant)

    Pls check once again : https://pastebin.com/CEgm6z08

    Once again, how did you upload to the live server? If not done properly it will cause all sorts of problems.

    When you move a site, you must replace the old URLs and paths with the new ones. Some of these are stored in the database in ‘serialized’ form where the string length is stored along with the string. You must use special tools to search and replace the old values with the new ones.

    If you replace an old URL with a new one of a different length, it will break the serialization, causing many different problems.

    If the old site is still available, you can use the steps shown in this article to copy the site: https://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    If the old site is not available, and you still have a copy of the database from that site, you should be able to use this tool to make the changes: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Put html code in side bar of’ is closed to new replies.