Remove text from my Facebook posts

Remove Jetpack’s publicize description with this code. Add this code to your theme’s functions.php // Remove description of posts on social share if ( class_exists( ‘Jetpack’ ) && Jetpack::is_module_active( ‘publicize’ ) ) { function tsj_publicize_hashtags() { $post = get_post(); if ( ! empty( $post ) ) { $custom_message = get_the_permalink(); update_post_meta( $post->ID, ‘_wpas_mess’, $custom_message ); … Read more

How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?

You have a number of halfway options, but there is nothing that directly matches your requirements. That is because this is not something Facebook provides. Copy Paste Manual embedding Screenshots OEmbed Other software may claim to do this but it is a simulation/illusion, and will rely heavily on bespoke customisation, it isn’t really a facebook … Read more

Displaying Facebook comments count with tag

You need to include their Facebook SDK in order to utilize fbml. FBML is also deprecated for use of xFBML. In this case, i would just recommend picking a wordpress / facebook plugin for what you need to do. As what you’re trying to do in code isn’t that simple.

Choices for thumbnail image in a Facebook Link post

You need to use a Plugin that manipulates the data sent via the Facebook Open Graph Protocol, e.g. Facebook Opengraph. There are several others, also. Related Posts How to control Facebook share information for the front page? Facebook is only displaying preview thumbnails that are 100px from my posts? Facebook sharing link is not showing … Read more

How to let user select role upon registration in Facebook-AWD?

The plugin offers an entry point for this manipulation: $userdata = apply_filters(‘AWD_facebook_register_userdata’, $userdata); So, now it’s a matter of you filling up the fictional function in this example: add_filter( ‘AWD_facebook_register_userdata’, ‘user_role_wpse_87863’, 10, 1 ); function user_role_wpse_87863 ( $userdata ) { $userdata[‘role’] = your_way_of_getting_the_role(); return $userdata; } Related: About Hooks and Filters Actions and filters are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)