Forum Replies Created

Viewing 30 posts - 31 through 60 (of 170 total)
  • Avatar: designerobot
    designerobot
    Participant
    July 2, 2019 at 11:33

    Hello,

    Thank you for your suggestion. It works, but not completely … for example it now shows 230 in each language, instead, it should be: 77 in IT, 76 in EN, 76 in CN.
    It is strange then that it shows 230 when the sum of all is 229. In any case, I would like to show the correct number of each language.

    I think I should change the central part of the above code, this:

    $total = wp_count_posts('etheme_portfolio')->publish;
    return $total;

    with the this code that shows the number in the buttom:

    $i = 0;
     while ( $loop->have_posts() ) : $loop->the_post(); $i++; endwhile;
     echo $i;

    But if I insert this last part in place of the beginning code, the page gives me an error.

    Any idea?

    Avatar: designerobot
    designerobot
    Participant
    July 1, 2019 at 00:50

    Hello,

    I understand that you cannot provide support for customization, but I would need just ONE information from you that know the theme.

    If it were to indicate the total number of “normal” posts I would use this code inside the functions.php file:

    function total_portofolio() { 
    $total = wp_count_posts()->publish;
    return $total;
    }
    add_shortcode('allmedia','total_portofolio');

    But this code shows “normal posts” not “8Theme Portfolio Posts”. So, my question is: which string to use in that code to show the total number of projects in the portfolio?

    Avatar: designerobot
    designerobot
    Participant
    June 28, 2019 at 02:09

    1) Ok

    2) After many tests, I was able to solve the problem by myself, adding the code (which with 4.3 was in portfolio.php) now with 5.0 is in functions.php

    One thing I haven’t been able to do. Maybe you can tell me how to do it, if it’s simple:
    See the attached image (in the pvt content) I would like to put the total number of contents in the text page.

    Namely the content of the number A where there is now the text of the number B.
    “A” is generated by php code
    “B” is now simple static text, I have no idea what the correct code is

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 14:55

    I solved.

    In the theme settings, the portfolio page was no longer set, I set it again from there and now it works. I don’t know why it disappeared, but it doesn’t matter.

    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 14:47

    It works, thanks.

    When? See your replies of May 31, 2019 at 12:06 pm in this post https://www.8theme.com/topic/a-lot-of-problems-with-the-5-0-version-of-the-theme/

    Anyway this specific matter is solved.

    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 14:04

    Thanks for the help. I disabled Gutemberg.

    I restored the page from an old revision but only the introductory text reappears, not the middle section below.

    I also opened my other site almost the same, but on the page, I don’t find any difference. Where do you say that this is the portfolio page? Why don’t you load the keys and thumbnails anymore?

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 13:11

    I did it, but adding “.mobile-nav .menu” and removing line 143 (as you told me)I have two errors:
    1) now it doesn’t work on the desktop too (if you check the link is no more enlighted inside the portfolio project). Before there it worked.
    2) the entire mobile menu remains of the old color.
    This line I had added because on this site it gave me this problem, not on the other almost identical.

    Please see line 589 of style.css of website A
    and line 591 of style.css of website B

    A doesn’t work, B works.

    On B you did some changes in past, after I replied them on A but probably you didn’t tell me all changes to replicate

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 12:58

    Hello,

    I also noticed another 2 small errors that happen only now with version 5.0 (up to 4.3 I had never noticed them).

    1)
    In the language menu at the top left, I have three languages: Italian, English and Chinese. The first two are loaded immediately (as it should be) while the third takes a few seconds to appear. This doesn’t always happen, but only when you load the site the first time (or every time you clear the cache).
    What can this small mistake depend on?

    2)
    In the portfolio page (see link1) in each button I have a number between brackets that indicates the number of articles in that section. However, it does not appear on the “Show all” button, before there was, now with version 5.0 no. What should I do to add in portfolio.php? Don’t do it, tell me how to do it so I add it to all my sites with the same theme.

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 12:27

    Hello,

    thanks for the quick response. I insert it and it works. But it works only on this website.
    On another website (almost identical) I did the same thing and it doesn’t work. See the link in pvt content. Why does it happen?

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    June 20, 2019 at 11:32

    The first thing you said.

    Namely, on the portfolio page now I have
    Category1 – Category2 – Category3 – Category4

    If I open the link normally from the menu it obviously loads the selected Category1 button (thanks to the script above, otherwise I had “Show All”).
    I would like to have a link to load (when necessary) the same page with eg Category4 already selected.

    Avatar: designerobot
    designerobot
    Participant
    June 17, 2019 at 12:34

    Hello,

    1) Thanks for the suggestion, I add the code into portfolio.php and it works perfectly.

    2) I understand very well that this customization is out of the service you offer, but I thought it was a very simple thing and it needed just a few seconds for you to tell me how to pass those parameters through a link, admitting that it is possible to do so (I have no idea at this point.. for this reason I asked to you that made the Theme)

    Avatar: designerobot
    designerobot
    Participant
    June 6, 2019 at 13:12

    All is perfect. Many thanks!

    Avatar: designerobot
    designerobot
    Participant
    June 5, 2019 at 11:37

    Hello, thank you!
    It works but not perfectly, if you go to the site and look, you will notice that the pointer becomes hand only at the center of the image, but not on the 10-20 pixels in the desktop version/almost half image in the mobile (on each image it is different, in the corners the phenomenon occurs more).

    1) How to fix those miniatures of the blog to work on the entire surface as already happens in the portfolio?

    Two more questions if I can:

    2) Now both the blog page and the portfolio page have 3 columns in the desktop version. But then they become 1 column in the mobile version. How do I maintain 3 columns even in the mobile?

    3) As you can see, the miniatures (both in the blog and in the portfolio) have different dimensions and proportions. This is not a nice effect on the page.
    How can I set the display of thumbnails (both in the blog and in the portfolio) of the same size and with the same proportions (for example with a 3:2 ratio)?

    Avatar: designerobot
    designerobot
    Participant
    June 4, 2019 at 21:08

    I solved, thanks!

    Avatar: designerobot
    designerobot
    Participant
    June 4, 2019 at 19:09

    I solved, many thanks for the help.

    Avatar: designerobot
    designerobot
    Participant
    June 4, 2019 at 16:17

    Hello,

    1) You’re right, in fact it was another website. You had explained to me how to do the changes also to the other sites for which I had bought the theme license. Can you answer me with the data I already gave you above (in order to make the changes alone) or I have to create a staging and an ftp?

    2)Thanks. I saw and it was what I wanted. Unfortunately, I had to remove the script because it doesn’t work well … then some images send back semitransparent.

    Avatar: designerobot
    designerobot
    Participant
    June 4, 2019 at 15:16

    Thanks for the quick response. I understood the difference.
    Isn’t there a way to make the PHP code communicate with the CSS code?
    Do you say it’s impossible to get what I asked for earlier?

    Avatar: designerobot
    designerobot
    Participant
    June 4, 2019 at 02:06

    Thanks for the explanations, comparing the files I was able to understand the differences and make the same changes on the other sites as well. There are only two small problems.

    1)
    On the Porfolio page, under each title I had a description, created by adding a small script inside the file woopress-child/content-portfolio.php

    Here is the description on the page and the related script that generated it:

    Before on 4.5.3 I had:
    Web – USA, 2006
    <?php child_print_item_cats($postId); ?> – <?php the_field(‘country-portfolio’); ?>, <?php the_date(‘Y’); ?>

    Now on 5.0.1 I have:
    Web – 2006
    <?php child_print_item_cats($postId); ?><?php echo ‘- ‘ . get_the_date(‘Y’); ?>

    As you can see, now the piece “USA, ” is missing… but if I add “the_field(‘country-portfolio’);” the page gives an error. What is the right syntax to add it?

    2)
    With the WooPress Core plugin instead of the old system, the images are loaded with a slightly different effect than before. Usually it’s better now, but I noticed that in the portfolios with lots of images, the script that I had put in the footer to load a certain category to show right away (instead of Show All) now takes some more time to update the page and this generates a bad effect with a slow connection.

    I thought I could solve this if it was possible to make the block of images in the portfolio appear with a fade-in effect. I had a similar problem on the home page and at the end, I solved it by setting up images (inside WP Bakery Builder) like FadeIn in CSS Animation field.

    Is there a way (perhaps by writing in style.css or in content-portfolio.php) to do the fade-in effect with the block of the portfolio thumbnails?

    Avatar: designerobot
    designerobot
    Participant
    May 30, 2019 at 19:09

    Thanks a lot for helping me to fix the problems.

    If you compare the original site with the staging one, there are still some differences (please see the attached picture that compares both versions), namely:

    1. In staging, the sorting of buttons is no more according to the order of “slug” as before (the “tag” order is back)

    2. Some tags (“IN EVIDENZA” for example) before were hidden but in staging, they are visible again

    3. In staging, close to the tag, under the title, the dots and the years are no more visible

    4. In the mobile version, the images are back to one for line, instead of two like in customized original

    If you explain to me the difference between version 4.3 and 5.0 I’ll be able to do these changes alone.
    If I understand the working model of the new version of the theme, I can do all these changes by myself.
    Moreover, as you know I’ve bought 7 licenses of this theme, so I need to do the same changes on other websites too. Therefore please explain to me the changes point by point so that I can replicate them on any website without asking you for every website.

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    May 29, 2019 at 23:33

    Hello, I create staging website.

    Customization of the portfolio is in these 5 files in the main directory of the child theme:
    style.css
    functions.php
    content-portfolio.php
    footer.php
    single-etheme_portfolio.php

    And in these 2 files in two directories of the main theme (because these files didn’t work in the child):
    framework/portfolio.php
    js/plugins.js

    Now there is the 4.5.3 and all works fine. If you update to the 5.0.1 you’ll see that Porfolio page stops to work correctly.

    Please contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    October 8, 2018 at 22:05

    Hello Olga,

    This not happens. Please look at the screenshots and at the access data below in private content.

    Regards

    Please, contact administrator
    for this information.
    Avatar: designerobot
    designerobot
    Participant
    September 17, 2018 at 17:10

    Hello Holga,

    Thanks, now it works perfectly.

    Regards

    Avatar: designerobot
    designerobot
    Participant
    September 17, 2018 at 16:33

    Solved. Many thanks!!!

    Avatar: designerobot
    designerobot
    Participant
    September 17, 2018 at 14:48

    Hello, do you know how to solve this?

    Avatar: designerobot
    designerobot
    Participant
    September 17, 2018 at 14:47

    Hello, have you seen this last reply?

    Avatar: designerobot
    designerobot
    Participant
    September 14, 2018 at 19:08

    I would like to ask you the last question about this matter.

    Now when I click on the hamburger menu (on the right) the menu appears on the right and shift from to right to left to arrive in its position. This is what I wanted and I’m happy.

    At the same time, the page becomes transparent and starts to move. It shifts too, from right to left in this case. What I want is: could the page remain steady without any movement?

    Namely, I would like that the menu arrives above the pages and covers only the small right part of the page (the other part remains steady and becomes only transparent like now).

    Avatar: designerobot
    designerobot
    Participant
    September 14, 2018 at 16:55

    Hello,

    Now it’s perfect. It’s exactly as I wanted it. Thank you very much for the help!!!

    Avatar: designerobot
    designerobot
    Participant
    September 14, 2018 at 11:43

    Hello, thanks for the help.
    In this way it works but:

    1. The logo is not perfectly aligned on the left, like the other elements of the page. It is a bit shifted to the center. I tried to change 31% with other numbers but it’s impossible to obtain a perfect alignment in this way in every case of the page width.

    2. The logo is too big in this position in the mobile version, it should be a bit smaller.

    3. The hamburger menu icon is not perfectly aligned on the right, like the other elements of the page

    4. The hamburger menu icon is too smaller in this position, it should be a bit bigger.

    5. The hamburger menu icon is now in the position I wanted (on the right), but if I click or touch it, the mobile menu is still opened on the other side of the page, namely on the left instead of on the right

    What do I need to change to solve these five issues?

    Avatar: designerobot
    designerobot
    Participant
    September 13, 2018 at 16:49

    Hello, I tried but nothing happens.

    Avatar: designerobot
    designerobot
    Participant
    July 16, 2018 at 17:05

    Hello,

    Even if I remove my custom content.php in my Child the situation doesn’t change, therefore the problem is somewhere else.

    With your script in CSS I solved the first problem, but regarding the second problem, I don’t have in my Post Edit Page the field Excerpt. Please check.
    Why does it happen? Could this (https://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/) solve?

    In any case, I would like to use the standard system, so that I don’t need every time to insert a new excerpt by hand on every page and in every language. Maybe it is hidden by default? Could I force to show it with a custom instruction in my style.css?
    Maybe because I’m using Visual Composer/WP Bakery to write the text in the page?

  • 1 2 3 4 5 6
    Viewing 60 results - 31 through 60 (of 170 total)
Viewing 30 posts - 31 through 60 (of 170 total)
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.