JPBigot
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Edit] HELP… how to input content with "returns" (or "shift-returns") ?Hi Josh,
Classipress is a theme for making an ad site.
Screen for entering the ad text is not design for rich editing.I solved my issue :
$content = wpautop( $content ); // to pass a formatted content with p and br tags…
wp_editor( $content, ‘[the textarea id]’, ‘the Tiny settings’ );Thx,
JP
Forum: Plugins
In reply to: [WP Edit] WP EDIT not visible on "smartphone mode"Hi Josh,
I’ve just post my report on your forum, in the “Feature Requests” rubric.
See “WP EDIT on smartphone view mode”, with the attached archive.
See you
JPB
Forum: Plugins
In reply to: [Smart Hashtags [#hashtagger]] how to keep the "#" in the tag name ?Hi,
I’ve resolved as taht by replacing the line 131 of hashtager.php :
wp_set_post_tags( $postid, $this->get_hashtags_from_content( $content ), $this->settings[‘advanced_nodelete’] );
by these lines :
$liste_hashtags = $this->get_hashtags_from_content( $content ) ;
wp_set_post_terms( $postid, $liste_hashtags, ‘ad_tag’, $this->settings[‘advanced_nodelete’] );
$liste_hashtags_sql = “‘”.str_replace( “, ” , “‘,'” , $liste_hashtags ).”‘” ;
global $wpdb;
$sql = $wpdb->prepare(
“UPDATE wp_terms SET name = CONCAT (‘#’, name ) WHERE SUBSTR(name, 1, 1) <> ‘#’ AND slug IN ( “.$liste_hashtags_sql.”) “, ” ) ;
$wpdb->query($sql);Thx,
JPB
Forum: Plugins
In reply to: [Smart Hashtags [#hashtagger]] How to use #hashtag with custom taxonomyYahoooouuu… solved !
In hashtager.php, replace line 131 :
wp_set_post_tags( $postid, $this->get_hashtags_from_content( $content ), $this->settings[‘advanced_nodelete’] );
by :
wp_set_post_terms( $postid, $this->get_hashtags_from_content( $content ), ‘MY_TAG’, $this->settings[‘advanced_nodelete’] );
Thx,
JP
Forum: Plugins
In reply to: [Advanced Editor Tools] Tiny advanced not working on my smartphoneHi everybody,
I’ve updated my site :
WordPress 4.3.1
TinyMCE avandced 4.2.5
>> No change !But, clicking on “desktop mode” on the smartphone browser preferences makes Tinymce appear !!
>> to force browser working in “desktop mode” would not be a good idea.. is it possible to make Tinymce work in “smart phone mode” ?
Thx in advance for any clue.
JP
Forum: Plugins
In reply to: [List category posts] How to use custom post_type and taxonomyHi and many thanks,
I’ve tried taxonomy=”videoscategory” because taxonomy is one of variable listed in list_cat_posts.php (line 105), and because of the link to édit my videocategory : https://xxxxxx/wp-admin/edit-tags.php?action=edit&taxonomy=videoscategory&tag_ID=27&post_type=videos
Assuming that the slug of my category is “mycategory” and its ID is 27,
[catlist name=”mycategory” post_type=videos] >>>> That displays well a list of only video posts, but from all videoscategories.. no selection!
[catlist id=27 post_type=videos] >>>> nothing displayed !
I hope some plugin developper having a look on that.. probably a bug.
Many thx
Hi, can someone help me…?
I’m using a video theme from Templatic : https://templatic.com/app-themes/wordpress-video-theme
This theme enables to post videos, and to create “video categories”. The link for editing a video category is like that : https://xxxxxx/wp-admin/edit-tags.php?action=edit&taxonomy=videoscategory&tag_ID=27&post_type=videos
So I tried the following shortcode :
[catlist id=27 taxonomy=videoscategory post_type=videos] >> no post displayed
And this :
[catlist post_type=videos] >> That displays well a list of only video posts, but from all videoscategories..Many thx in advance for any help..
JP