Matteo Legittimo
Forum Replies Created
-
Forum: Plugins
In reply to: [Content Blocks (Custom Post Widget)] php templateCiao Johan,
this is the content of my “custom-post-widget.php” in my theme folder:if ( !$apply_content_filters ) { // Don't apply the content filter if checkbox selected $content = apply_filters( 'the_content', $content); } echo $before_widget; $id = $content_post -> ID; echo 'this is the id:'.$id; if ($id == 60) { include( get_stylesheet_directory() ."/custom-post-widget-candidatura.php"); } else { if ( $show_custom_post_title ) { echo $before_title; echo apply_filters( 'widget_title',$content_post->post_title); if ( $show_featured_image ) { echo get_the_post_thumbnail( $content_post -> ID ); } echo $after_title; } echo do_shortcode( $content ); } echo $after_widget;
and using php shortcode to include in my page:
echo do_shortcode('[content_block id="60"]')
but cant see neither the echo “this is the id”, like is not reading the file “custom-post-widget.php”
Thanks
Thanks, but i need to translate all text in Signup Confirmation Text Tab from backend, located in Settings->Confirmation Text, that cant find in the pot file, for example the text in “Double Opt-In Email Content (Confirmation Email)”:
Hi ###NAME###
We have received a subscription request from this email address. Please confirm it by clicking here.
If you still cannot subscribe, please copy this link and paste it in your browser :
###LINK###Thank You
AICODSForum: Plugins
In reply to: [Contact Form 7 Polylang Module] Plugin generally not working at allSame problem and dont have any js errors
Forum: Plugins
In reply to: [Secure Custom Fields] Get field in acf_formSolved
$field = $_POST[‘fields’];
// Create a new post
$post = array(
‘post_status’ => ‘draft’ ,
‘post_title’ => $field[‘field_53441cc439e2c’] ,
‘post_content’ => $field[‘field_53441cf839e2d’]
);Forum: Plugins
In reply to: [Facebook Like Box Responsive] Doesn't show anythingSorry, i solved!
In “Page Name” the right url is
“pages/GoMad-Events/191024484291008” (because the prefix is https://www.facebook.com/)Maybe its better to copy all the url in the field like:
https://www.facebook.com/pages/GoMad-Events/191024484291008Thank u again
Forum: Plugins
In reply to: [WP Editor] Not working in extra TextareaHi,
thanks to replay me.
Im using the Simple Field plugin for add the extra texteditor!Thanks
Forum: Plugins
In reply to: [Theme My Login] Locked out as it says too many login attemptsIt’s because you activated the security module!
By default it’s lockout the account for 24 hours after failed login.
U can enabled from your database, but you should know about MySQL or wait 24 hours!Forum: Plugins
In reply to: [WP eCommerce] JQuey .live() method DEPRECATEDI solved using jquery 1.8.3!
Forum: Plugins
In reply to: [Theme My Login] Using template tagHi Jeff,
no need to change the action URL in my template file, because this:$template->the_action_url( ‘login’ );
$template->the_action_url( ‘register’ );
$template->the_action_url( ‘lostpassword’ );thake the value from -> General -> Permalink
I just changed the permalink like this:
/?action=login&instance=1
/?action= register&instance=1
/?action= lostpassword&instance=1Like this, point to myhome page all 3 form. Im gonna hide/show with css and jQuery
Thanks
Forum: Fixing WordPress
In reply to: Query posts for Specific Categoty! Please HelpThanks so much! ??
Forum: Fixing WordPress
In reply to: Query posts for Specific Categoty! Please HelpHi guys,
thanks to replay me!
I need to show the events category divided in:Today events
Upcoming Events
Events passedEvents it’s a category.
It’s possible with query_posts to?Thanks to helping me!
Forum: Plugins
In reply to: [Theme My Login] Using template tagHi Jeff,
– i copied login-form.php, register-form.php and lostpassword-form.php in my theme folder– in my home.php (it’s a static page that im using like index) i have the code that i told u before
– In TML -> General -> Permalink i setup di urls with just / to redirect to my home page
– The Action attributes are:
action=”<?php $template->the_action_url( ‘login’ ); ?>”
action=”<?php $template->the_action_url( ‘register’ ); ?>”
action=”<?php $template->the_action_url( ‘lostpassword’ ); ?>”But i dont konw i should change!
Thanks a lot if u can help me! I really need!Matt
Forum: Plugins
In reply to: [WP e-Commerce Style Email] Not show SKU numberIn my wpsc-single_product template i get correctly every SKU product like this:
<?php echo get_post_meta(wpsc_the_product_id(), ‘_wpsc_sku’, true); ?>
Forum: Plugins
In reply to: [WP e-Commerce Style Email] Not show SKU numberHi Jacob,
the issue occours for me also without variations!Thanks
Forum: Plugins
In reply to: [Theme My Login] Using template tagHey Jess,
i found the solution in the forum!
Im doing like this:<?php theme_my_login( array( ‘default_action’ => ‘login’, ‘show_title’ => 0 ) ); ?>
<?php theme_my_login( array( ‘default_action’ => ‘register’, ‘show_title’ => 0 ) ); ?>
<?php theme_my_login( array( ‘default_action’ => ‘lostpassword’, ‘show_title’ => 0 ) ); ?>
This is in the index.php, because just user logged can see the site.
The problem is that in the register module or in the lost password module , if the field are wrong, it redirect to login/?action=lostpassword showing the login module.
I tried to redirect to the home page from General -> Permalinks, but this solution not working, it’s not showing the error message, but still the login form.
How can i do?
Thanks a lot