Thomas
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] overview of sold products with variation optionsthanks for that link – I’ll give it a try 🙂
Gerne 😉
Hey Tobias,
thanks for that explanation =) Will try this!
Best,
Thomas
Hey Tobias,
thanks for your answer.
I tried to list all the tables as postings on one page.
I get the table “posts” but of course the_content(); gives back only a bunch of strings, since it’s not formatted through the shortcode.
So I tried to get the table ID relevant to the actual post, to build the do_shortcode command.Best,
Thomas
thanks for your support =) I know why I bought your lightbox for my other site 😉 <3
awesome, it works! thank you very much!
<3the site is not available online atm.
Forum: Plugins
In reply to: [Admin Tweaks] Styling is missingseems to be good o0 but i can’t say what was the error… was just playing arround with some settings and stuff…
Forum: Plugins
In reply to: [WP Mobile Detect] wpmd_is_phone() true on OPERA desktopsCAUTION:
There are 2 mobile-detect.php.
Don’t overwrite the one with the plugin!<?php /* Plugin Name: WP Mobile Detect Version: 1.2.0 Plugin URI: http://jes.se.com/wp-mobile-detect Description: A WordPress plugin based on the PHP Mobile Detect class (Original author Victor Stanciu now maintained by Serban Ghita) incorporates functions and shortcodes to empower User Admins to have better control of when content is served Author: Jesse Friedman Author URI: http://jes.se.com License: GPL v3DON’T touch this one!!
Take the one with the MIT License at the beginning.
Forum: Plugins
In reply to: [WP Mobile Detect] wpmd_is_phone() true on OPERA desktopsThe detection code was updated:
http://mobiledetect.net/
Download the source, open the Mobile_Detect.php and copy the code into the wp-mobile-detect/mobile-detect.php (plugins->editor->wp mobile detect).
Opera works for me again.Forum: Plugins
In reply to: [WP Mobile Detect] wpmd_is_phone() true on OPERA desktopsSame problem here.
Working with Opera 18.0, and its detected as mobile, so the sidebar and navigation wont load…
The other mobile detect plugins only switch the themes, but I need to exclude some functions only for mobile…Regards
Forum: Fixing WordPress
In reply to: Get the user id using his name$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $userslug = $term->slug; $user = get_user_by( 'slug', $userslug); $userid = $user->id;Forum: Plugins
In reply to: [Ambrosite Next/Previous Post Link Plus] How to extract parts of the CodeOkay, thank you for your answer =)
I used this code, if this helps anyone with the same problem:
$prev_post = get_previous_post(); $next_post = get_next_post(); if (!empty( $prev_post ) OR !empty( $next_post )) { echo '<ul id="postnavi"><li>'; $maxlength = 15; } //Prev Post if (!empty( $prev_post )){ //Shorten the Title if (strlen($prev_post->post_title) > $maxlength) $shorttitleprev = substr($prev_post->post_title, 0, $maxlength) . ' ...'; else $shorttitleprev = $prev_post->post_title; //Get the Thumbnail URL $src = wp_get_attachment_image_src( get_post_thumbnail_id($prev_post->ID), 'thumbnail', false, '' ); //$src[0]; echo '<div id="nav-prev-post"'; if ($src != '') {echo 'style="background-image:url('.$src[0].');"';} echo '"><a href="'.get_permalink( $prev_post->ID ).'" title="'.$prev_post->post_title.'"><span class="big"></span><br />'.$shorttitleprev.'</a></div>'; } if (!empty( $prev_post ) OR !empty( $next_post )) { echo '</li><li>'; } //Next Post if (!empty( $next_post )){ //Shorten the Title if (strlen($next_post->post_title) > $maxlength) $shorttitlenext = substr($next_post->post_title, 0, $maxlength) . ' ...'; else $shorttitlenext = $next_post->post_title; //Get the Thumbnail URL $src = wp_get_attachment_image_src( get_post_thumbnail_id($next_post->ID), 'thumbnail', false, '' ); //$src[0]; echo '<div id="nav-next-post"'; if ($src != '') {echo 'style="background-image:url('.$src[0].');"';} echo '"><a href="'.get_permalink( $next_post->ID ).'" title="'.$next_post->post_title.'"><span class="big"></span><br />'.$shorttitlenext.'</a></div>'; } if (!empty( $prev_post ) OR !empty( $next_post )) { echo '</li></ul>'; }The Problem was for both paid and non-paid versions…