Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Alelouya

    (@alelouya)

    Hey Craig,
    my issue is resolved by deleting the js code with error.
    Thanks again.
    I appreciate your quick support.

    Thread Starter Alelouya

    (@alelouya)

    Great, thank you so much !!
    I suppose I can just move off this snippet from jquery-1.7.2.min.js since this part is not working anyway ?
    Thanks again,
    Alelouya

    Thread Starter Alelouya

    (@alelouya)

    Hi Craig,
    thank you very much for you reply.
    Here’s the link to the blog. I’ve put the instagram feed widget in the right column, just below the search bloc. With Firefox, you see the bloc trying to load.
    Regards,
    A.

    Thread Starter Alelouya

    (@alelouya)

    Thanks for your reply.
    So far, using .htaccess of the root folder, I managed to rewrite the url without WP folder name
    RewriteRule ^subcategoryname/(.*)$ myblog/OutOfBlog/subcategoryname/$1 [L]
    but it ends up with a url with WP folder name (site url of my WP blog).
    I placed the same instruction in the .htaccess of WP folder, using L flag and before the other instructions, but it changes nothing.
    So I suppose I should edit the part (if there is no need to work on php/Rewrite API) :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /myblog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /myblog/index.php [L]
    </IfModule>

    How can I do this ??
    First, should I remove RewriteBase /myblog/ ? Anyway, it’s the name of the physical folderwhere WP is insalled, but I’m a bit afraid to do this.

    Thread Starter Alelouya

    (@alelouya)

    Thank you very much for your reply, wheynne.
    Indeed, “myblog” is the real physical folder name in which the WordPress is installed.
    The thing is that I don’t want to change this at all, I only want to hide this folder name for one category I made in purpose of using WordPress for somethig else than a blog.

    There are already topics in this forum about changing the permalink for one specific category, but the suggested solutions use php – Rewrite API, but I assumed it would be quicker to do this in .htaccess ; besides, in the .htacess, there’s an instrucion of basename with “myblog” (It seems to me it’s unnecessary because it’s the same as the folder name ) and I suppose I should neutralize this.

    Anyway, it seems to me that what I need is .htacess instructions like :
    RewriteCond %{REQUEST_URI} “the already rewritten url contains OutOfBlog”
    or “?id_category=x (?, I don’t know the url structure for one cateogry archive page)”
    RewriteRule “Rewrite the url to mywebiste.tld/subcategoryname/(+postname) by skipping the basename ‘myblog'”.

    But maybe I might as well do this with Rewrite API…
    Or I should be doing this with the .htaccess in the root folder – parent folder of “myblog”…

    Thread Starter Alelouya

    (@alelouya)

    PS.
    Another issues :
    For the “Next events” link, the folowing code in nav.php :
    esc_html__( ‘Next %s’, ‘the-events-calendar’ ), $events_label_plural) is giving the translation of ‘Next’ and not ‘Next %s’. (In French the adjectif “Next” becomes plural and in the .po file, the translation of ‘Next %s’ gives the plural form as it should).
    The same thing with “previous”.

    Thread Starter Alelouya

    (@alelouya)

    I can consider contributing for updating the translation, but nonetheless, I definitely don’t understand.
    The string that can’t be translated is
    ‘No matching events listed under %s. Please try viewing the full calendar for a complete list of events.’, line 276 in your tribe-template-facory-class.php. When I paste this string and search in .po file, this string is found, which means that this matches exactely the string to be translated in .po. If this string in .po was cut after “please”, it wouldn’t work since that woudn’t match the string in the _() function, no ??? Besides, I don’t find the string you quoted, ie, “No matching events listed under %s scheduled for %s.” in lib/tribe-template-facory-class.php.
    Sorry, I’m totally lost !

    Thread Starter Alelouya

    (@alelouya)

    Yes ! After refreshing the permalink, the category page worked !
    Thank you so much for fixing it.
    I’m really amazed by your active support.

    However, the category name was not shown as page title (h1), I saw that archive.php of my theme doesn’t make any query for this, so I added in h1:

    elseif (is_tax()) :
                            $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
                            echo $term->name;

    Maybe there’s a more elegant way, but it works.
    FYI, from what I saw, most of themes just output “archives”, except Twenteen fifteen which outputs “Testimonial category : XXX”.

    The breadcrumb is not finding the category neither, which annoyed me more.
    I have a similar issue with the events calendar plugin. (They have their own templates, and the full events page is listed under “/events” with no breadcrumb, but the event category page and single event page show empty breadcrumb, not even single event title.)

    Maybe I need to get into the code for the breadcrumb.

    I’d appreciate if you have any suggestion for finding the custom post type name and the custom category name (and the url ?) from a single testimonial page and a list page.

    Thread Starter Alelouya

    (@alelouya)

    Hi,
    The breadcrumb I’m using is supplied by my theme.
    I looked into the code, there’s

    if (is_single()) {
    			if (has_category()) {
    				$category = get_the_category();
    				echo '<a href="'.get_category_link($category[0]->cat_ID).'">'.$category[0]->cat_name.' &raquo; </a>';
    			}
            }

    before

    if (is_page() || is_single()) {
                echo ''.get_the_title().'';
            }

    but the testimonial category is not detected.
    If I understood well, testimonial is a custom post type, which is also not detected.
    What I find a bit upsetting is that breadcrumb doesn’t show “testimonial” as a sort of category, whereas the url of a single testimonial is testimonial/post_title.
    But on the other hand, if there’s no archive page with “testimonial(s)” as url, maybe that’s logic.

    Thread Starter Alelouya

    (@alelouya)

    ok, thank you very much for your reply and the very useful tip of refreshing the permalink.
    However, it didn’t work in this case ; I thought that maybe this tool of wordpress admin panel (allowing to add testimnial category to a menu which implies that the page of a testimonial’s category list is generated using theme’s template, under “testimonial/category-name”) is misleading and that I first have to create a page putting the shortcode [testimonials category=’xxx’], and then add that page to the menu.
    Kindly confirm.

    Also, the breadcrumb on a single testimonial page doesn’t show “testimonials”, or testimonial-category as parent of that particular post ; it’s directely after the homepage.
    If I understand well, this is a normal behavior. ?

    Thread Starter Alelouya

    (@alelouya)

    Howdy Brook,
    I followed the guidance, but that turned my site in English.
    Maybe I failed to explain my problem, but all I want is that the translation text that is already in the translations file shows up.
    Your code is using _(), and the translation exists for this string in the supplied translation file, so the text should be in the localized language, and I couldn’t find out why it’s not working.

    I switched my site to Spanish, and the string appeared in Spanish, so I assume that the problem comes from the translation file.
    Here are some tests I’ve done :
    In your “tribe-template-factory.class.php”, I replaced the non translatable string by another string which works, and the string was translated.
    Although the source text in .po seems exactely the same as the string, I pasted the string from.po, to the code file, but the string was not translated.
    I re-generated the .mo file and uploaded, but doesn’t work neither.

    Is it possible that the .po file is corrupted just at this line ?

    If this can’t be fixed, would it be possible to contact your french translator, for I suppose he had the same issue ?
    (Or could you suggest a way to replace the tribe-template-factory.class.php ?
    So far, I replaced the string in French directly in your plugin directory, since child-theme/lib/tribe-template-factory.class.php path doesn’t work for this file.)

    Thread Starter Alelouya

    (@alelouya)

    Hi, Brook, thanks for your reply and the link to your guide.
    I’m not sure to understand some points (language problem !) :

    – Have you updated your translations file, as you must after each update?
    => As for my language, your plugin comes with the translation, which is great, and the translation files were updated automatically with the plugin’s update. So I suppose there’s nothing else I need to do. ?

    – your guide says :

    Lastly, in your dashboard, go to Settings –> Permalinks and clear your permalinks.

    => Am I to understand that I must click the “save” button in the permalinks section after each update without changing anything ?

    Thread Starter Alelouya

    (@alelouya)

    In deed…
    I found the updraft folder in my Google Drive.
    I was actually wondering why you mention “Google Drive”…
    For setting up, I’ve followed however your very clear documentation :
    https://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/
    But the link to Google API console was rederected to the Google developers console which mentions Google cloud storage, that’s where my confusion begun.
    Anyway, thank you very much for your quick reply, I was not expecting such an efficient support for the free version.
    I will give this plugin 5 stars right away.
    Kind regards.

    In short : Where/how can I acees the bakcup files uploaded on the Google cloud storage ?

    Hi, I had a problem with Google Drive :
    I have created a new Google Drive account and although I’ve clicked several times “Authentificate” link in my WP Updraft interface, the link was showing up again, and for each backup, I had the message “Google Drive: this account is not authorised.” This was resolved yesterday God knows why by clicking again on the link and when I saved manualy the database afterwards, I had no error message.(Checked the log, seems ok) But I wanted to make sure they were uploaded on Google cloud and see where/how they are stored. But… I couldn’t find the files within the Google interface.

    In the Google Developers Console, I wen to the link to Cloud Storage > Storage browser
    https://console.developers.google.com/project/xxx(projectID)/storage
    But this page only asks to add a bucket. Do I have to creat a bucket ???

    I read this doc :
    https://cloud.google.com/storage/docs/access-public-data
    but it also mentions a bucket.
    I wonder what is the relationship between the folder name suggested by ultradraft and a bucket.
    In my Updraft settings, I left the default folder name “UpdraftPlus”.
    Could you kindly tell me what to do ?
    Thank you.

    FYI: I’m using WP3.9 with UpdraftPlus 1.9.25. I have several things to check before updating, but I don’t think this is relevant, it seems I just can’t find out how to access files on Google console.
    I’m not using Chrome.

Viewing 14 replies - 1 through 14 (of 14 total)