Tag Info

New answers tagged

0

Does your theme allows you to display a custom content above the menu area? Some themes give you a input box or widget area where you can display markup like you described in to top right corner. Try reading documentation of a theme or pork around theme settings and visit Widget area to see if you have that ability. Otherwise you can use jQuery to ...


0

I wrote a plugin for that. It is not in the plugins repository yet, you can download it here: http://basics09.de/download/b09.link-to-existing-content.zip Install it and then put this filter in your functions.php: add_filter("link_to_existing_content_post_types", "my_link_to_existing_content_post_types"); function ...


0

So I tried this, still not working though <!-- Show/Hide Chat --> <?php if ((current_user_can('edit_theme_options')) && (get_option('show_chat') != "")):?> <script type="text/javascript"> var $j = jQuery.noConflict(); $j(document).ready(function(){ $j('.chat_toggle').click(function(){ ...


1

I'm guessing that text is an excerpt - and so any mark-up will be stripped out.


1

For terms and taxonomies use get_term_feed_link: "Returns a link to the feed for all posts in a given term. A specific feed can be requested or left blank to get the default feed." See also get_tag_feed_link and get_category_feed_link. For post types see get_post_type_archive_feed_link. These functions are located in in ...


1

Here is one idea to strip link- and image tags from the post content (before you save it) by using the edit_post_content filter and the wp_kses function: add_filter( 'edit_post_content', 'my_edit_post_content', 10, 1 ); function my_edit_post_content( $content ) { if (!current_user_can('manage_options')) { // only strip for non-admins global ...


0

I finally solved it. It was something with the permalinks. I changed the permalinks structure and suddenly it works. For anyone who may have a similar problem, try going to settings under wordpress --> permalinks and try changing the permalink structure. I changed mine from day and name to post name and now facebook can recognise the links.


1

First, that old site is not any version of WordPress. Second, don't hack TwentyTwelve, make a child theme. if you hack it, your changes will be lost when the theme is updated. Third, the easiest way to achieve pagination like that would be WP-PageNavi.



Top 50 recent answers are included