Forum Replies Created
-
AuthorPosts
-
January 27, 2019 at 12:36 pm in reply to: Change word Portfolio with plugin Loco to other english word #1059338
thx, i see with the client if he will use the portfolio-tab or if i have to start with a custom post type. Thank you for the answere, i don’t have to look further in that translation-solution. Maybe Enfold 7.0 will have that functionality?
best regards
le_RenaarJanuary 25, 2019 at 12:21 pm in reply to: Change word Portfolio with plugin Loco to other english word #1058640Hallo Victoria,
in the front-end is not a problem. You made already the option under the permalink (options-permalink.php)
It is in the back-end that i want to change that word for the client. Is it possible to change the word Portfolio in a other english word with Poedit or Loco? I think that i have to change the avia-framework: is this correct?
What are the steps to change word Portfolio in the back-end with a another english word?
best regards,
le_RenaarHi,
perhaps i was not clear:
1. i installed foogallery and the extention to import nextGen-gallery;
2. imported the nextGen-gallery’s
3. removed the plugin NextGen en NextGen Pro.As soon as i removed the nextGen-plugin was the Enfold-theme working again.
Can you test this on a testwebsite; it worked for me?
best regards,
leRenaarHi,
to downgrade: i simply replaced the new plugin with a version in my backUp-system. I used a ftp-program (cyberduck).
The solution (on 27.11.2016) for me: foogallery. There is also a free extention (also from foogallery) to import nextgen-gallery’s. The last year i had nothing than problems with the upgrades from nexgen: to many upgrades what makes me nervous.
good luck
leRenaarHi there,
same issue between the Avia framework (Enfold 3.8) and NextGen. I use for the moment the solution from wolkenlos: downgrading to NextGen 2.1.26
Any change to a solution?best regards
February 8, 2016 at 10:10 am in reply to: woocommerce: if 1st variation product is sold out, there is no price on overview #579455Hi Rikard,
thx for having a look. In private content login/pasw.
best regards
February 5, 2016 at 5:09 pm in reply to: woocommerce: if 1st variation product is sold out, there is no price on overview #578599Hi Vinay,
the price of all variation is displayed correctly in the webshop-overview when we start selling a product. But when the first variation is sold out, is there no price displayed on the webshop-page. Any ideas what is going wrong or is that something for the woocommerce-support?
best regards
leRenaarHey Josue,
i was thinking that looping 1 slider with the loopsetting “0” was possible. It is not.
You have to have minimum 2 sliders (a copy of slider 1 is oke) in the Layerslider to make the looping to work.Case closed.
best regards,
leRenaarHey,
a programmer is hired for that job (thx for the link). I have send them a video whit the expectation so there is no mistake about the job. Do they need something from you? do i send the programmer this link? If not, you can close this topic as solved. I hope that eventsmanager find in the future a solution for this problem.
Thank you for all the patience and advice.
leRenaarHey Basils,
thank you to point me out what the next step is in this process. I filled in a form on that website.
best regards,
leRenaar- This reply was modified 9 years, 2 months ago by leRenaar.
Hey,
is this usefull to make the make a previous and next button in the theme? In the backEnd are the events sorted on the EventDate :-) The frontEnd: do you have any idea?
best regards,
le Renaarhey Ismael,
i installed the plugin and the ordening in the admin is correct. In the pro version you have a option to sort by custom_field (_event_start_date) with option Field_type: Date.
The result is that in the adminpanel / events all events are sorted by event_date.
What is the next stap to make this happen in the frontend so there is on a singlepage a next and previous button?
Best regards,
leRenaarIsmael,
update from EventsManager:
+++
this links can help you out
https://codex.wordpress.org/Function_Reference/get_next_post
https://codex.wordpress.org/Function_Reference/get_previous_post
+++I don’t see what this will change to the item that next_post in eventsmanager is the next publicationdate of that event.
best regards
Hey Ismael,
i wrote your question to EventsManager and recieved this:
++++
angelo wrote:
sorry I believed those are wordpress functions and you might need additional coding and hook into wp_query to make this work.
++++
I am running in cirkels. What is a good solution to solve that problem, can you point that out for me?best regards
leRenaarthx Josue, its working perfect ! good weekend, leRenaar
Hey Josue,
the first two post are with the read-more (excerpt) in the post. The last 2 post (of 4) dont have a excerpt.
The result is all 4 the same: echo “no_excerpt”.Do you have any idea why this lines of code don’t recognize has__excerpt ?
best regards,
reinHey,
the shortcode to display post from cat_1 is displaying nice.
I want to extent this code with a toggle function (is working) in combination with the read_more in the post content.
How can i check if the post has a excerpt?The code used:
/* CALL NEWS-POST @ HOME */
function recent_posts_function() {ob_start ();
$args = array(‘cat’ => 1, ‘posts_per_page’ => 4, ‘orderby’ => ‘post_date’);
$category_posts = new WP_Query($args);if($category_posts->have_posts()) :
while($category_posts->have_posts()) :
$category_posts->the_post();
?>
<?php
// Get $post if you’re inside a function
global $post;if ( has_excerpt() ) {
echo “this post HAS EXCERPT”;
} else {
echo “NO EXCERPT”;
}
?><ul class=’homepost’>
<div class=’date’><?php the_time(‘j F Y’); ?></div>
<h5><?php the_title() ?></h5>
<div class=”excerpt”><?php the_excerpt(); ?>Read More </div>
<?php global $more; // Declare global $more (before the loop). ?>
<?php $more = 1; // Set (inside the loop) to display all content, including text below more. ?>
<div class=”post-content”><?php the_content(); ?>Read Less</div>
<div class=’dividerpost’></div><?php
endwhile;
else:
?>
Oops, no news.
<?php
endif;$listpost = ob_get_clean();
return $listpost;
}function register_shortcodes(){
add_shortcode(‘recent-posts’, ‘recent_posts_function’);
}add_action( ‘init’, ‘register_shortcodes’);
/* END OF CODEBLOCK CALL NEWS-POST @ HOME */
best regards, leRenaar
Brilliant solution Ismael. Now i understand the workflow and connection between that var. The result was not what i hoped. Today i tried a other solution (with jQuery):
(function( $ ) { "use strict"; $( document ).ready(function() { // alert ("Hello, World"); var thePage = $(".page-id-314 .entry-content"); thePage.html(thePage.html().replace(/(<BR>)/ig, " + ")); }); }(jQuery));
thanks for the solutions and patience,
leRenaarHi Ismael,
very interesting php-code, new for me. I have to convert the <br/> into a +sign. The examples making that possible for me, but how do you fit this in a shortcode?
The shortcode is
function em_get_events_list_grouped_shortcode($args = array(), $format = ''){ $args = (array) $args; $args['ajax'] = isset($args['ajax']) ? $args['ajax']:(!defined('EM_AJAX') || EM_AJAX ); $args['format'] = ($format != '' || empty($args['format'])) ? $format : $args['format']; $args['format'] = html_entity_decode($args['format']); //shortcode doesn't accept html $args['limit'] = isset($args['limit']) ? $args['limit'] : get_option('dbem_events_default_limit'); if( empty($args['format']) && empty($args['format_header']) && empty($args['format_footer']) ){ ob_start(); if( !empty($args['ajax']) ){ echo '<div class="em-search-ajax">'; } //open AJAX wrapper em_locate_template('templates/events-list-grouped.php', true, array('args'=>$args)); if( !empty($args['ajax']) ) echo "</div>"; //close AJAX wrapper $return = ob_get_clean(); }else{ $args['ajax'] = false; $pno = ( !empty($args['pagination']) && !empty($_GET['pno']) && is_numeric($_GET['pno']) )? $_GET['pno'] : 1; $args['page'] = ( !empty($args['pagination']) && !empty($args['page']) && is_numeric($args['page']) )? $args['page'] : $pno; $return = EM_Events::output_grouped( $args ); } return $return; } add_shortcode ( 'events_list_grouped', 'em_get_events_list_grouped_shortcode' );
Where is the best place to use str_replace ?
best regards
This reply has been marked as private.Great solution, works perfect. thx, rein
Hey Ismael,
The website is still localhost (Mamp).
With te hope to see more thumnails on a standard desktop screen (from 4 to 6), i changed in css/shortcodes line 1915
from
@media only screen and (min-width: 1800px){
to
@media only screen and (min-width: 1341px){I tested in Safari and Fiirefox and result is oke. Do i have to change more code to have this working in I.E., Chrome?
If that is the only code to change: can i change line 1916 from 16.6% it to 12% to see 8 thumnails in a row?
best regards,
leRenaar -
AuthorPosts