Lars Daniel
Member
Posted 1 year ago #
I am working on this site: http://www.blog.halfdane.dk
Is there a widget that can place just one word in the sidebar, that will act like a menu-button calling up a page? Perhaps it makes more sense if you look at the site. The sidebar is all collapsed, and I just want to add an item there that directly will call up a page in the main column.
Or perhaps I should just add something to sidebar.php?
i'm looking for somethng like that too. it would be great if it was a widget that works with qTranslate. this seems to be very essential, but it seems it can be only done by hardcoding the sidebar.
any help would be appreciated!
ok, dd page widget works for me
if you are using qTranslate, replace the line 65 with this code
echo '<a href="' . get_page_link($instance['page_id']) . '">' . qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($instance["title"]) . '</a>';
good luck!
Lars Daniel
Member
Posted 1 year ago #
Yes, but dd page widget will show the page in the widget area, right? I need it to be shown in the main column.
no, it only makes a link to the page using it's title. give it a try
Lars Daniel
Member
Posted 1 year ago #
Ah, I misunderstood how it works. It is perfect. Thanks!