Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Tag: links http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sun, 24 May 2015 03:03:55 +0000 helgatheviking on "audio next to front page post titles" http://forums.themeshaper.com/topic/audio-next-to-front-page-post-titles#post-24713 Sat, 07 Jan 2012 14:50:51 +0000 helgatheviking 24713@http://forums.themeshaper.com/ <p>yes it is possible. you can add anything you want just about anywhere you want. sounds like you will want to filter the post titles. </p> <p>this type of questions gets asked over and over, so i will refer you to my general explanation of how filters (and hooks) work</p> <p><a href="http://forums.themeshaper.com/topic/need-help-understanding-actions-vs-filters-and-changing-post-meta-and-utility#post-22638" rel="nofollow">http://forums.themeshaper.com/topic/need-help-understanding-actions-vs-filters-and-changing-post-meta-and-utility#post-22638</a> </p> Desperaudio on "audio next to front page post titles" http://forums.themeshaper.com/topic/audio-next-to-front-page-post-titles#post-24702 Fri, 06 Jan 2012 19:35:26 +0000 Desperaudio 24702@http://forums.themeshaper.com/ <p>My posts each contain text and a single audio file (mp3). Is it possible to make the HTML5 audio player show up on the front page, next to each post title?</p> <p>Thanks. </p> danromanchik on "Weird Link Behavior" http://forums.themeshaper.com/topic/weird-link-behavior#post-24187 Wed, 07 Dec 2011 21:15:20 +0000 danromanchik 24187@http://forums.themeshaper.com/ <p>Thanks, guys. I was thinking that it was something like that, but I just couldn't see it. </p> sheky on "Weird Link Behavior" http://forums.themeshaper.com/topic/weird-link-behavior#post-24186 Wed, 07 Dec 2011 20:29:05 +0000 sheky 24186@http://forums.themeshaper.com/ <p>Yes, exactly, that was my issue as well, when I changed the class it was all good :) </p> ScottNix on "Weird Link Behavior" http://forums.themeshaper.com/topic/weird-link-behavior#post-24185 Wed, 07 Dec 2011 20:23:03 +0000 ScottNix 24185@http://forums.themeshaper.com/ <p>There is a div sitting over those links that goes across the page.</p> <p>It is caused by the class ".menu { width: 940px; }" which is in the file home-page.css on line 28.</p> <p>Try dropping in "#primary .menu { width: 140px; }" to override it and bring the width down, or you may just be able to remove it completely if you aren't using the access menu. </p> sheky on "Weird Link Behavior" http://forums.themeshaper.com/topic/weird-link-behavior#post-24183 Wed, 07 Dec 2011 20:20:22 +0000 sheky 24183@http://forums.themeshaper.com/ <p>I had the same problem today, but I was dealing with so many bugs today so I can t remember exactly what it was... I think, for me a missing ; or smomething like that in functions file caused my navigation to be as dead as yours... Try to trackback your steps in that direction... If I remember I ll post it here...</p> <p>Best of luck</p> <p>sheky </p> danromanchik on "Weird Link Behavior" http://forums.themeshaper.com/topic/weird-link-behavior#post-24182 Wed, 07 Dec 2011 19:38:29 +0000 danromanchik 24182@http://forums.themeshaper.com/ <p>I created a four-column child theme with Thematic, and now I'm experiencing some odd behavior with links in the content section. I can't blame Thematic for this behavior, but I'm really stumped here as to what is going on.</p> <p>The page that is exhibiting this odd behavior is <a href="http://redesign.cbpmagazine.com." rel="nofollow">http://redesign.cbpmagazine.com.</a> This is a site for a trade magazine. </p> <p>In the third column, are links to magazine articles. The information about these articles are stored in a database. To generate this list, I do a database query, and then create these links. They're all created in the same loop, so the HTML for each of the six links you see has exactly the same format, and each of them look like proper HTML. Despite this, only the bottom two links are clickable.</p> <p>Can anyone think why the upper four links would not be clickable?</p> <p>Thanks, Dan </p> mrmikeman on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-23710 Sat, 05 Nov 2011 06:30:18 +0000 mrmikeman 23710@http://forums.themeshaper.com/ <p>using the above code and css, my social buttons have a tiny portion of it that is clickable.. can anyone provide a more efficiant way to putting social icons in the nav menu&gt; </p> stormy on "Links not working at top of #content" http://forums.themeshaper.com/topic/links-not-working-at-top-of-content#post-23507 Mon, 17 Oct 2011 22:23:14 +0000 stormy 23507@http://forums.themeshaper.com/ <p>Thanks ScottNix for the suggestions which really helped. It has taken a lot of tracking down but I think it was some links in a left aside which were extending across the content and masking the content links. </p> ScottNix on "Links not working at top of #content" http://forums.themeshaper.com/topic/links-not-working-at-top-of-content#post-23444 Wed, 12 Oct 2011 22:54:36 +0000 ScottNix 23444@http://forums.themeshaper.com/ <p>If you can't locate it in firebug, I would suggest possibly trying a technique of giving a div, ul, li, span, etc... a transparent background image. This will "light up" the containers which gives all the elements a background.</p> <p>Example,<br /> <pre><code>div { background: rgba(100, 100, 100, 0.2); } ul { background: rgba(100, 100, 100, 0.2); } li { background: rgba(100, 100, 100, 0.2); } span { background: rgba(100, 100, 100, 0.2); }</code></pre> <p>Try one at a time and see if something is overlapping, but you won't receive much help here because it is almost impossible to troubleshoot this kind of stuff without an example. </p> stormy on "Links not working at top of #content" http://forums.themeshaper.com/topic/links-not-working-at-top-of-content#post-23443 Wed, 12 Oct 2011 22:36:05 +0000 stormy 23443@http://forums.themeshaper.com/ <p>I have reduce the size of the header and now there is a 'dead' area at the top of #content where links don't work. I have checked the css #branding, #heading, #access and #main to make sure the area isn't hidden by another div. I did add a menu widget there temporarily which is now removed. What could be causing the problem? I wondered if the temporary menu could have left a ghost area behind? </p> allenjcochran on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22754 Fri, 19 Aug 2011 10:16:34 +0000 allenjcochran 22754@http://forums.themeshaper.com/ <p>Oh my site is: <a href="http://www.allenjcochran.com" rel="nofollow">www.allenjcochran.com</a> </p> allenjcochran on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22753 Fri, 19 Aug 2011 10:16:12 +0000 allenjcochran 22753@http://forums.themeshaper.com/ <p><strong>This tutorial was ultimately really helpful. I positioned my social media icons exactly how I wanted them using this function:</strong></p> <p>function my_div_socmedia(){<br /> echo '&lt;div id="socmedia"&gt;&lt;div class="icons_social"&gt;<br /> <a href="http://www.facebook.com/allenjcochran/">&lt;img src="http://allenjcochran.com/wp-content/uploads/2011/08/facebook-logo.png" /&gt;</a><br /> <a href="http://www.twitter.com/allenjcochran/">&lt;img src="http://allenjcochran.com/wp-content/uploads/2011/08/twitter.png" /&gt;</a><br /> <a href="http://www.linkedin.com/allenjcochran/">&lt;img src="http://allenjcochran.com/wp-content/uploads/2011/08/linkedin-logo.png" /&gt;</a><br /> <a href="mailto:allenjcochran@gmail.com">&lt;img src="http://allenjcochran.com/wp-content/uploads/2011/08/mail.png" /&gt;</a><br /> &lt;/div&gt;<br /> &lt;/div&gt;';<br /> }<br /> add_action('thematic_header','my_div_socmedia');</p> <p><strong>AND, this CSS:</strong></p> <p>#socmedia {<br /> margin: 0 auto;<br /> width: 940px;<br /> margin-top: -35px;<br /> z-index: 100;<br /> }<br /> .icons_social {<br /> /*padding-left: 30%;*/<br /> text-align: right;<br /> }<br /> .icons_social img {<br /> width: 20px;<br /> height: 20px;<br /> padding: 5px;<br /> }</p> <p><strong>BUT, i cannot get my links to work</strong></p> <p>Any chance someone could tell me how to fix that? Is it all because of the z-index of #access? </p> lachlan39 on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22608 Thu, 11 Aug 2011 00:14:58 +0000 lachlan39 22608@http://forums.themeshaper.com/ <p>Thanks again, helgatheviking. I've made the addition you suggested and the links still operate.</p> <p>However, I carried out the changes of theme mentioned above before I made your addition, so I'm still at a loss to explain why the theme changes fixed the problem. I understand your point about the "cover up" but both the problem links and some of the others seemed to be opposite the menu. With the addition you've suggested, I guess the problem won't recur.</p> <p>I'm relatively new to WordPress and am not yet really secure with the structures - as you can tell. None of Firebug, WebDeveloper, View Source revealed the problem by the way.</p> <p>Many thanks for your timely help. </p> helgatheviking on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22597 Wed, 10 Aug 2011 14:42:57 +0000 helgatheviking 22597@http://forums.themeshaper.com/ <p>if you were hovering over them and the links didn't change it was b/c the menu in the sidebar had a width of 940px and was "covering up" the regular content. see my above post for the fix. </p> lachlan39 on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22594 Wed, 10 Aug 2011 06:41:25 +0000 lachlan39 22594@http://forums.themeshaper.com/ <p>Now resolved. But I'd like to know why/how!</p> <p>I activated the 2010 theme - all links behaved as expected. This also occurred with the 2011 theme and the basic thematic theme.</p> <p>So I activated my custom theme again - and now the links worked properly!</p> <p>So now I can go ahead and work on my theme again! </p> lachlan39 on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22593 Wed, 10 Aug 2011 05:03:59 +0000 lachlan39 22593@http://forums.themeshaper.com/ <p>Thanks. I should have been more explicit. Although the links are underlined, the cursor doesn't change shape when hovered over them, and nothing happens on click. Have a look on the Members page and also the (temporarily unrestricted) Restricted page. As you move down the page they start to "work" and then continue to do so. A lot of the html is cut and pasted which I though could be a problem, but also see the new page Ztemp made completely in WordPress.</p> <p>You're right about the aut site but the one before it certainly loads from a browser.</p> <p>Styling is far from complete but I'm not sure what your comment about weirdness refers to. </p> helgatheviking on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22592 Wed, 10 Aug 2011 04:37:27 +0000 helgatheviking 22592@http://forums.themeshaper.com/ <p>what do you mean by "most don't work"? what is happening instead?</p> <p><a href="http://www.aut.ac.nz/postgraduate" rel="nofollow">http://www.aut.ac.nz/postgraduate</a></p> <p>is a broken link. it returns a 404 not-found page. it's not that it doesn't work, it is that your link is incorrect or points to a location that no longer exists.</p> <p>as an aside, you've got weirdness coming from your widget menu</p> <p>i'd add</p> <pre><code>.widget_nav_menu .menu { width: auto; }</code></pre> <p>to override the default .menu width that applies to the menu in #access </p> lachlan39 on "some links put into pages do not work" http://forums.themeshaper.com/topic/some-links-put-into-pages-do-not-work#post-22588 Wed, 10 Aug 2011 02:49:25 +0000 lachlan39 22588@http://forums.themeshaper.com/ <p>I am using a child theme derived from the thematic sample one with WordPress 3.2. Some of the pages have links (both external and internal) on them. Most don't work. The code seems to be the same for adjoining operational and non-operational links. I have spent hours with Google without success so far!</p> <p>One problematic page is <a href="http://locus39.net/ddogs/?page_id=2" rel="nofollow">http://locus39.net/ddogs/?page_id=2</a> - the first two links do not work but the rest do.</p> <p>Here is an example from that page using 'view page source'. The first link does not work, the next one does:</p> <p>&lt;li class="organisation"&gt;&lt;span class='org_name'&gt;Auckland University of Technology&lt;/span&gt;<br /> &lt;span class='org_type'&gt;(Associate)&lt;/span&gt;<br /> &lt;span class='org_url'&gt;<a href="http://www.aut.ac.nz/postgraduate">http://www.aut.ac.nz/postgraduate</a>&lt;/span&gt;</p> <p>&lt;li class="organisation"&gt;&lt;span class='org_name'&gt;Australian Catholic University&lt;/span&gt;<br /> &lt;span class='org_type'&gt;(Member)&lt;/span&gt;<br /> &lt;span class='org_url'&gt;<a href="http://www.acu.edu.au/about_acu/research/">http://www.acu.edu.au/about_acu/research/</a>&lt;/span&gt;</p> helgatheviking on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22523 Wed, 03 Aug 2011 03:04:13 +0000 helgatheviking 22523@http://forums.themeshaper.com/ <p>i don't think you can limit the width of access.... b/c then you won't get the menu centered the way you expect. best to put the social icons inside #access </p> sowingseeds on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22521 Wed, 03 Aug 2011 02:33:07 +0000 sowingseeds 22521@http://forums.themeshaper.com/ <p>Addendum: cleanest way is the replacing of the search bar in access through the link given by helgatheviking.</p> <p>Take Gene's code - 3rd post down.<br /> You can remove the initial &lt;?php section through to the ?&gt;;<br /> start at &lt;div id="access"&gt;;<br /> then replace from &lt;div id="access-search"&gt; with your code,<br /> leaving the final &lt;/div&gt;&lt;!-- #access --&gt;<br /> &lt;?php }</p> <p>Also you will now need to remove any negative top margin in your css on .icons-social.<br /> On your code it does not now need to be echoed... make sure no space (line break?) between the image and add a margin right to the first image. </p> sowingseeds on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22519 Wed, 03 Aug 2011 02:05:28 +0000 sowingseeds 22519@http://forums.themeshaper.com/ <p>Just a couple of comments. The link to topic on the search bar would be the way to go. Currently there is a link underline in between your two icons. There is a space between the coding for your two icons in functions. Put space between the two icons with:<br /> style="margin-right:10px;" after twitter.png.</p> <p>If you stay with what you have you could (I think) limit the width of #access to say 650px (if you have a width on #wrapper of 960px and center it with margin: 0 auto). That way you will not run up against the z-index issue that is covering the top part of your icons from being active as a links. </p> helgatheviking on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22513 Tue, 02 Aug 2011 19:42:07 +0000 helgatheviking 22513@http://forums.themeshaper.com/ <p>it's a combo of positioning and the fact that #access has a high z-index. the more i think about it the more i think you might be better served by adding your links into the access function</p> <p>see this link:<br /> <a href="http://forums.themeshaper.com/topic/add-search-bar-to-thematic-using-override" rel="nofollow">http://forums.themeshaper.com/topic/add-search-bar-to-thematic-using-override</a></p> <p>instead of the search form you'd just use the markup from your my_div_socmedia function </p> cookieandkate on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22512 Tue, 02 Aug 2011 18:45:35 +0000 cookieandkate 22512@http://forums.themeshaper.com/ <p>Hooray! It works!</p> <p>You're right, helgatheviking, the code you mentioned first is unnecessary. I didn't have to edit sowingseeds' code to move the icons above the header, though. All I did was change the image source code and add links. I also fiddled with the CSS until the icons showed up in the right spot.</p> <p>Here's the code I'm using, in case it's helpful to anyone:<br /> // Remove the standard Thematic menu<br /> function remove_menu() {<br /> remove_action('thematic_header','thematic_access',9);<br /> }<br /> add_action('init', 'remove_menu');</p> <p>// Moving the thematic menu above the header<br /> add_action('thematic_aboveheader','thematic_access');</p> <p>// add icons icons to menu above header<br /> function my_div_socmedia(){<br /> echo '&lt;div id="socmedia"&gt;&lt;div class="icons_social"&gt;<a href="http://twitter.com/#!/cookieandkate">&lt;img width="18" height="18" alt="Follow me on twitter" src="http://cookieandkate.com/images/2011/08/twitter.png" /&gt;</a><a rel="alternate" href="http://feeds.feedburner.com/CookieAndKate"><br /> &lt;img width="18" height="18" style="margin-left:2px;" alt="Subscribe via RSS" src="http://cookieandkate.com/images/2010/10/rss-small2.jpg"&gt;<br /> </a>&lt;/div&gt;&lt;/div&gt;';<br /> }<br /> add_action('thematic_aboveheader','my_div_socmedia');</p> <p>ONE little issue remains, though. When I hover my mouse over either of the icons, I don't see that I can click on the icon until my mouse is at the bottom edge of the icon. The icons are small, yes, but I should be able to click on them when I'm hovering directly over them. Any suggestions?</p> <p>Thanks again! </p> helgatheviking on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22511 Tue, 02 Aug 2011 17:53:37 +0000 helgatheviking 22511@http://forums.themeshaper.com/ <p>i don't think this:<br /> <pre><code>function child_access_menu() { $menu_sys = &#39;wp_nav_menu&#39;; return $menu_sys; } add_filter(&#39;thematic_menu_type&#39;, &#39;child_access_menu&#39;);</code></pre> <p>is necessary any more. thematic 0.9.8 uses wp_nav_menu by default and then falls back to w page-based menu</p> <p>the only change you need to make to sowingseed's code is to change the location. (presuming it does what you want)</p> <p>sowingseed's code hooks into thematic_aboveheader and the code you've posted moves the menu to below the header</p> <p>add_action('thematic_belowheader','my_div_socmedia',10);</p> <p>i just added a priority number so that it comes after your thematic_access() in the html markup. did you at least try sowingseed's code? you would have seen that it places the images in a different place.</p> <p>i'd adjust the code such that you auto-generate your file's location. put the icons inside a folder called "images" in your child theme's directory</p> <pre><code>function my_div_socmedia(){ echo &#39;&lt;div id=&quot;socmedia&quot;&gt;&lt;div class=&quot;icons_social&quot;&gt;&lt;img src=&quot;&lt;?php echo get_stylesheet_directory_uri(); ?&gt;/images/img1.gif&quot; /&gt;&lt;img src=&quot;&lt;?php echo get_stylesheet_directory_uri(); ?&gt;/images/img2.gif&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&#39;; } add_action(&#39;thematic_belowheader&#39;,&#39;my_div_socmedia&#39;);</code></pre> cookieandkate on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22510 Tue, 02 Aug 2011 16:36:19 +0000 cookieandkate 22510@http://forums.themeshaper.com/ <p>I'm sorry to be a bother. I just looked at my functions.php and remember that I swapped the thematic menu for the wordpress menu. I'm guessing I need to edit the code provided by sowingseeds, right? Any suggestions?</p> <p>Here's what I have in my functions.php for the menu:</p> <p>// change Thematic #access menu for a Wordpress 3.0 menu<br /> function child_access_menu() {<br /> $menu_sys = 'wp_nav_menu';<br /> return $menu_sys;<br /> }<br /> add_filter('thematic_menu_type', 'child_access_menu');</p> <p>// Remove the standard Thematic menu<br /> function remove_menu() {<br /> remove_action('thematic_header','thematic_access',9);<br /> }<br /> add_action('init', 'remove_menu');</p> <p>// Moving the thematic menu above the header<br /> add_action('thematic_aboveheader','thematic_access'); </p> ScottNix on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22509 Tue, 02 Aug 2011 16:08:42 +0000 ScottNix 22509@http://forums.themeshaper.com/ <p>The php would go in the functions.php file of your child theme. </p> cookieandkate on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22506 Tue, 02 Aug 2011 12:29:13 +0000 cookieandkate 22506@http://forums.themeshaper.com/ <p>Thank you so much for your response! I'm sorry to be dense, but where would I insert the php code? In header.php, functions.php or elsewhere? I'm afraid to put it in the wrong spot. </p> <p>Thank you! </p> sowingseeds on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22503 Tue, 02 Aug 2011 08:05:58 +0000 sowingseeds 22503@http://forums.themeshaper.com/ <p>Maybe something simple will get you what you want. How about adding a new division into thematic_aboveheader (I assume your menu is already in that hook)? Maybe then if you put the social media icons inside a class division styling would be not too difficult.</p> <p>So for example:<br /> function my_div_socmedia(){<br /> echo '&lt;div id="socmedia"&gt;&lt;div class="icons_social"&gt;&lt;img src="path_to_icon1" /&gt;&lt;img src="http://path_to_icon2" /&gt;&lt;/div&gt;&lt;/div&gt;';<br /> }<br /> add_action('thematic_aboveheader','my_div_socmedia');</p> <p>Then in css:<br /> #socmedia { margin-left:50%; width: 480px; margin-top:-25px; } /*adjust margin-top to move icons up*/<br /> .icons_social { margin-left:200px; } /*adjust margin-left to move icons as far right as you wish*/</p> <p>Don't think you will need any 'clear:left' or equivalent. </p> cookieandkate on "adding icons to menu" http://forums.themeshaper.com/topic/adding-icons-to-menu#post-22501 Tue, 02 Aug 2011 05:00:08 +0000 cookieandkate 22501@http://forums.themeshaper.com/ <p>Hi,</p> <p>I have read through the Thematic menus demystified post and read about Wordpress menu styling, but I'm still stumped. All I want to do is add a small twitter and a small RSS icon in the top navigation menu on my blog, <a href="http://cookieandkate.com." rel="nofollow">http://cookieandkate.com.</a> I already have text links listed in the top nav—they are left aligned, though, and I want the icons to appear separately, but in the same row, on the right.</p> <p>I've tried adding a custom CSS style to the links, and applying an image through the stylesheet, but it won't work. I must be doing something wrong. I would so appreciate your help!</p> <p>Sincerely,<br /> Kate </p>