Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter jana90

    (@jana90)

    @martenw thank you so much for helping! I copied that code and added new date()); to the minDate value but it’s not doing anything for the datepicker ??

    Thread Starter jana90

    (@jana90)

    Already figured it out! I just used an ACF Text Field that can be managed in the backend to determine which category should be queried ??

    Thread Starter jana90

    (@jana90)

    Hi @bcworkz ! Thanks for your answer! The global template is what I was thinking too. So with my html/css file and some acf fields and php snippets I would create said template in my theme and then create the 6 pages (one for each category) in the WordPress Backend, always applying the created template.

    Only thing I don’t know how to do, is displaying (or querying) different kind of posts on each of the 6 pages, so that each page only shows the posts belonging to one category.

    I only know the normal post loop but what code would I need to determine which posts are being displayed when I create the 6 category page in the backend? Do you know of any tutorial I can follow? Thanks so much!

    Thread Starter jana90

    (@jana90)

    Hi all! Thank you for answering! I did a stupid mistake and that’s why the meta data from the user wasn’t displayed … I didn’t added the post loop. Now that I did that, the following code worked for me to get the user name and bio:

    <h2 class=”heading”><?php echo get_the_author_meta( ‘first_name’, false ) ?></h2>

    For the ACF Image Field that I set to be placed for users, I needed the following code to make it being displayed on the front end as well:

    <?php $author_id = get_the_author_meta(‘ID’); ?>
    <div class=”author-image” style=”background-image:url(‘<?php the_field(‘image2’, ‘user_’. $author_id ); ?>’);”></div>

    Thread Starter jana90

    (@jana90)

    @mlchaves @rossmitchell

    Thanks for your answers! After inspecting the classes on google chrome, I can now see that WordPress is overwriting my classes with ‘user agent stylesheet’ classes. Knowing that I can now target these classes and overwrite them again in my style.css but I don’t know how I can get rid of the “li” html element since this is not a css class I can change?

    Like my nav items/links are supposed to be next to each other (in line/horizontally) in the navbar (I styled this in Webflow with flex box) but the user agent stylesheet makes them stack on each other and also add bullet points. How can I overwrite this?

    Thread Starter jana90

    (@jana90)

    @mlchaves

    Thanks for your answer but this unfortunately did not help ?? maybe I should have explained more:

    I know how to add css. In Webflow i basically just build the static site, using html, css and js. I export the code and in a dev environment, I set up my own custom theme based off the exported code from Webflow. So I have full control over the css file(s). I also of course correctly enqueued all css and js files.

    So there is no child theme necessary as I a building my own custom wordpress theme with the help of the Webflow exported code.

    My issue is, that despite having the css classes that are supposed to style the navbar links, they seem to get overriden by the default wordpress theme. It doesn’t matter what I add to my css file, the navbar links won’t change from the purple font color, underlined and with bullet points. Even though my css classes have font color white, not underlined and no bullet points

    • This reply was modified 3 years, 11 months ago by jana90.
    Thread Starter jana90

    (@jana90)

    awesome, thanks so much! That works for me ??

    Thread Starter jana90

    (@jana90)

    Hello again,

    so after a long time experimenting with my code, I figured out now why my javascript wasn’t working when I exported and converted my Webflow website to WordPress. And it is actually due to a specific Webflow code.

    In Webflow each html page has a unique Webflow page id, shown on each html file as:

    <html data-wf-page=“5eb266f71471ff7a36bb2084” data-wf-site=“5ea1e0ec9c38e73c61dbc9ad” lang=“en”>

    When I exported the code and then converted it to wordpress, wordpress only took the data-wf-page id from my index.html into header.php but not from the other pages and that is what is causing the issues with javascript on my other pages.

    However, I don’t know how to include the other data-wf-page numbers (from my other pages) into the header.php file. To me it seems like, whatever data-wf-page is first, is the only one that is being ‘read’ then. So if I copy and paste the other data-wf-page numbers behind the existing one, they are just being ignored.

    Can anyone help me and let me know how I can include all data-wf-page numbers from all pages to make my javascript work?

    Would really appreciate if someone could help me with this.

    Thread Starter jana90

    (@jana90)

    Hi Steve, yes I read that. But if there is a way to link my local html & css files to my live website, I would prefer doing that since it’s a bit inconvenient to migrate the site every time I do a small change

    Thread Starter jana90

    (@jana90)

    Hi Steve,

    I basically created that Theme myself with the html and css and js files on my local computer. So the site is not dynamic yet, whenever I make style or content changes, I just go into my html or css files. But these are not ‘linked’ to the live site. When I change anything in these files the changes are only reflected on the local site, not the live site.

    So, I don’t know how to change that, so that I can continue to make changes to my local css and html files and that the changes would be reflected then on the live site.

    Thread Starter jana90

    (@jana90)

    Hi @laszloszalvak

    thanks so much for your answer! I did open a ticket but did not receive your answer. Would it usually go to my email address?

    Many thanks
    Jana

    Thread Starter jana90

    (@jana90)

    Thanks so much, @bcworkz! Yes, you are right that this is pretty much the same as a tabbed section. So I will see if I can use one of these plugins ??

    Thanks again!

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