burria
Forum Replies Created
-
Forum: Plugins
In reply to: [Felicette Pedigree Litters] Finding the parentsYes @tinyma thats perfectly doable, I’ll take a look when I have moment.
Thanks @jimtrue, I’ve opened a bug report at: https://github.com/pods-framework/pods/issues/4374
Forum: Plugins
In reply to: [Felicette Pedigree Litters] Date of birthHi lappilahja, at the moment no but there is a shortcut, it’s not clean but it could work.
Create a custom theme page for this content type:
https://codex.wordpress.org/Post_Type_Templates
(just copy the single page that it’s been displayed now, somewhere in your theme, you don’t need to code all the page).
Now you have two options:
a)When creating a litter in the body create a tag, something like [dateb]X-X-X[dateb] and with php filter it and display it as you like.
https://stackoverflow.com/questions/9253027/get-everything-between-tag-and-tag-with-php
b)Change the publishing date of the post (so it would be the same day of birth of the litter) and display it as you like
https://codex.wordpress.org/Template_Tags/the_date
Now To change the order of the litters in the Laika content type it will be more difficult. I would start uncheking “Show on Laika” on felicette settings and theming it yourself looping the litters.
Forum: Plugins
In reply to: [Felicette Pedigree Litters] Stal de Bernsehoeven@vorminfunctie1972 in laika you already can, I’ll try to apply it for Felicette too when I have some time.
Forum: Plugins
In reply to: [Laika Pedigree Tree] add more theme for pluginAnswer 4-> read the message in the forum I added teo weeks ago
Forum: Plugins
In reply to: [Laika Pedigree Tree] add more theme for pluginHi @afgkw, Im answering from my mobile so I cannot be more acurete (my pc crashed):
1-this is very easy with css, select the cntainer and then in your style.css in your theme add
#container{background-image:url(“your-image.png”); background-color: #FF0000; ->your color hex code.
(Again i cannot be more specific, but the name of the container you can know it by inspecting the code).
2- Disable yoir native CSS in laika settings and add your own to achive this effect, ask in a CSS forum if you dont know how,
3-this is very easy too! CSS again, the divs have different classes for male and female.
4- I’ll be working on adding custom fields at the hidden div in the tree, but at the moment you can add it on the pets description
Forum: Plugins
In reply to: [Laika Pedigree Tree] Inserting pedigree to specific pageI’ll mark as not a support question this thread cause there is no updates. I’ll keep in mind to add tags, @elanp feel free to reopen it if you need a follow up.
Forum: Plugins
In reply to: [Laika Pedigree Tree] Inserting pedigree to specific page@elanp Can you specify exactly what are you doing and what you want to achieve?
I wanted to add a couple of things like tags to display the tree in another page and customitzable fields, but this will take some time, so lets see if we can find another solution.
The problem is fixed with the new update , so I’ll change this issue to resolved.
And thank you again @alborten11, although I try to test everything there are issues that escape from my view.
- This reply was modified 9 years, 1 month ago by burria.
@alborten11, while what @elanp say is true, you can’t expect final users to know/respect that, nor is a warning about that. So this is a bug.
I’ll try to reproduce it and fix it. Thank you for the heads up.Forum: Plugins
In reply to: [Laika Pedigree Tree] Getting past creating the dogs in LaikaWorspress thinks my answer is spam or something like thet, ignore the *
@kiwidk if you create a new page, there is an ID of this page -> https://artisanthemes.io/find-page-id-wordpress/
*You past it on settings / laika configuration (there is also a short link under laika in the plugin list), and the plugin will know that in that page it has to display a “gallery”. Well this is totally *optional, but with the new update you can also filter by arguments so it comes pretty handy.
If you’re not happy with it or you want* to go a step further you can just query the laika posts, but if you don’t have enough knowledge of wordpress this will* become a bit tricky.
image: i.imgur.com/6JFZKg3.png
So tell me if your’re able to create i*t, please.
Forum: Plugins
In reply to: [Laika Pedigree Tree] Getting past creating the dogs in Laika@kiwidk if you create a new page, there is an ID of this page -> https://artisanthemes.io/find-page-id-wordpress/
You past it on settings > laika configuration (there is also a short link under laika in the plugin list), and the plugin will know that in that page it has to display a “gallery”. Well this is totally optional, but with the new update you can also filter by arguments so it comes pretty handy.
If you’re not happy with it or you want to go a step further you can just query the laika posts, but if you don’t have enough knowledge of wordpress this will become a bit tricky.
So tell me if your’re able to create it, please.
Thank you @bcworkz, I was a bit confused.
Forum: Developing with WordPress
In reply to: Internationalizing user inputThank you @bcworkz, my original idea was to create a ‘tag system’ and then parse it, but I’ll experiment on your first solution.
I wanted to be sure there was not an standard way to do it.
Forum: Developing with WordPress
In reply to: Use $variable to fill in wp_query post_typeIf you want to se my code where I did something similar:
$argsc = array( 'post_type' => 'felicette_pl_type', 'posts_per_page' => 12, 'paged' => $paged, 'tag' => array($tagargfelic) ); $your_query = new WP_Query($argsc); while ($your_query->have_posts()): $your_query->the_post(); endwhile