wpshiran
Forum Replies Created
-
@photocratiMember – This was never accomplished and no one has requested all these years? How do you add a title to a thumbnail in short code? can you support a small script so we could add it to the caption template?
Forum: Fixing WordPress
In reply to: Short CodeHey jose,
Sorry im new in posting here. This shortcode is done by someone else. Now im developing it. This is not a plugin. Its already in the theme and support as a shortcode.
Any idea what’s missing?
Thanks
ShiranI have updated “pmpro_confirmation_url” with “members_confirmation.php”. but still drags me to home page
Great H-master,
Thanks for the reply. I have double checked everything and seems all in place. When I disable new user approve plugin. confirmation page works again.
Any idea?
Hey everyone….
Lost in codes…please save a life
Hey Jessica,
Thank you so much for the reply. I know a very few of PHP. Can you please show me an example?
IF the code is this, where to hook the additional code?
$text = new PMProRH_Field(“member_no”, “text”, array(“size”=>40, “class”=>”Membership No”, “profile”=>true, “required”=>true));
pmprorh_add_registration_field(“after_billing_fields”, $text);Please help and thanks in advance
ShiranForum: Plugins
In reply to: [Breadcrumb NavXT] Replace category with page nameHi guyz,
Same issue here. Is there anyone who could support us on this issue. Please guide us on how to change this code:
the anchor for current category
$breadcrumb->set_url(get_term_link($term, $term->taxonomy));
}
//Get parents of current category
if($term->parent)
{
$this->term_parents($term->parent, $term->taxonomy);
}Appreciate it a lot!
Hi Tocia,
You have to add the fields in the theme functions
add_action(‘tgmpa_register’, ‘gp_register_required_plugins’);
function my_pmprorh_init()
{
//don’t break if Register Helper is not loaded
if(!function_exists(“pmprorh_add_registration_field”))
{
return false;
}//define the fields
$fields = array();$fields[] = new PMProRH_Field(“first_name”, “text”, array(“label”=>”First Name”, “profile”=>true));
//add the fields into a new checkout_boxes are of the checkout page
foreach($fields as $field)
pmprorh_add_registration_field(“checkout_boxes”, $field);//that’s it. see the PMPro Register Helper readme for more information and examples.
}
add_action(“init”, “my_pmprorh_init”);Hope this helps
Never mind I found the way;
for everyone who have this issue. Here is the code.
//dropdown, includes a blank option
$dropdown = new PMProRH_Field(“gender”, “select”, array(“profile”=>true, “required”=>true,”options”=>array(“” => “”, “male”=>”Male”, “female”=>”Female”)));cheers
Hi guyz,
any updates for this please? i have created the fields, but when you fill them and submit it doesn’t appear in the user profile.
Please help.
ShiranForum: Plugins
In reply to: [Grid Products] Category products paginate?This is a great suggest! I would love to see a pagination to this plugin.
I also looked at the code:
<—CODE—>
$grid_products = new WP_Query(array(
‘order’ => ‘ASC’,
‘orderby’ => ‘menu_order ID’,
‘grid_product_category’ => $cat,
‘post_type’ => ‘grid_products’,
‘post_status’ => null,
‘nopaging’ => 1,
‘posts_per_page’ => -10) );<—CODE—>
If we change (‘nopaging’ => 1,) 1 to 0 this will display 10 products but you don’t see the next or the pagination.
Appreciate if you could point us where to add the code.
This would save a huge time
Great plugin bytheway…
Cheers
Shiran