enky
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Column Block – Change Min Columns to 1@ajoyce2016 dDo you have a solution for this by now?
Forum: Plugins
In reply to: [Gutenberg] Column Block – Change Min Columns to 1Heres a Screenshot of what i mean. I want to change the min value of the slider to 1.
Forum: Plugins
In reply to: [Yoast SEO] Database Error caused by YoastSomething Stupid
- This reply was modified 7 years, 2 months ago by enky.
Im pretty sure you colud write a function that can remove this input field via javascript, based on the role the user has.
$user = wp_get_current_user();
if ( in_array( ‘author’, (array) $user->roles ) ) {
//The user has the “author” role
//and now some magic to remove the field, maybe some js
}Or you can try it with 2 admin css files. one file for you, the admin, and one file not for admins with this
#smtp_pass{
display:none;
}Im Having the same Problem. Yesterday everyworks fine…today not so much
Maybe u can just make one “boilerplate theme” avaible as download. with one catchy keyword through all files.
Then we could just search for that keyword and we could do “search and replace” ?
Hi,
i now manged to use boilerplate generator with xampp. My Partner had setup a local machine/vagrant wihout the ziparchive extension and he′s on holiday right now.
Great thing with the boilerplate generator^^!
Maybe one Idea. Cant u bring this boilerplate generator on wour plugin website? For everybody without the zip Archive PHP Extension?
Hey, the problem is i dont habe the zipArchive PHP Extension, and i cant install it here.
So i just tried to download the Polaroid Template and just Change this. SO i just change every “polaroid” to “enky” just for testing. I can install the PLugin, but no new Gallery Template Showing Up in the “Gallery Template” Select Menue.
Maybe you can take look what i did wrong.
https://www.xup.in/dl,13438054/foogallery-enky-template-master.zip/As soon as the template is listed in “Gallery Template” i can go on.
Hey, Problem is this
Fatal error: Class ‘ZipArchive’ not found in /var/www/wp-content/plugins/foogallery/includes/admin/class-boilerplate-zip-generator.php on line 59
I currently have no chance to do something against it.
But i looked at the other themes and got it.
The big problem i having now, is to get the thumbnail without any html around it. just the url.
i looked th the other templates and google and now have this
$args = foogallery_gallery_template_setting( ‘thumbnail_dimensions’, array() );
$link = foogallery_gallery_template_setting( ‘thumbnail_link’, ‘image’ );
$args[‘link’] = $link;
echo $attachment->html( $args, true, false);but with this, i get an ancor tag around the image. i just need the url.
could you help me here?
EDIT GOT IT ^^:
<?php foreach ( $current_foogallery->attachments() as $attachment ) { $image = wp_get_attachment_image_src($attachment->ID, 'full')[0]; $thumbnail = wp_get_attachment_image_src($attachment->ID, 'thumbnail')[0]; echo $image; echo $thumbnail; } ?>
Ok, i think i got my Problem…
I used [TheChamp-Counter] instead of [TheChamp-Sharing]
Maybe you can explain me [TheChamp-Counter] should print out?
You nailed it. ^^
Our Page is build with Custom Field (Advance Custom Fields) so we didnt need the_content().
Now i typed somethig in the content field and it works.
I delete everything in the content(). Still works. The content field is empty but the shortcode still works.I have this code
$tc = get_the_content();
if($tc != “”): get_template_part( ‘template_parts/the_content’ ); endif;//in this template you find the_content()if($tc){
echo “someting in the field”;
}else{
echo “clean”; // this is the output i get right bow
}echo do_shortcode( ‘[TheChamp-Sharing]’ );//this is rendering
Maybe i just get this wrong (check if everything is fine with this filter in your custom theme).
What should i check ?
The url ist not possible. im developing a page for a customer and i just can setup a link for u.
What i can do is shwoing you my option. i made some screenshots.
Edit:
For Testing i activated the twenty sixtenn theme. and the bars are shwoing up. but not on my custom theme.
is there something what has to be active. ?Forum: Plugins
In reply to: [[Abandoned] PPress] Reset PasswordHi, this is not possible. Im currently workung on localhost. And i cant setup a “live enviroment” beacuse of my customer. sry
Ok, and with the pro feature (and ajax form submission) i can also use some javascript for someaction after the form is submitted?
I looked into your helpdesk and found something like this
frmThemeOverride_frmAfterSubmit(formReturned, pageOrder, errObj, object){
}In the free VErsion it seems not to work.
Forum: Plugins
In reply to: [[Abandoned] PPress] TypeError: textarea is nullHI, of course. Here is the screenshot.
https://fs5.directupload.net/images/160222/zckvoppe.png
https://fs5.directupload.net/images/160222/oivrz4qy.png