fabian.schmid
Forum Replies Created
-
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Not working with Custom FieldsIsn’t the purpose (or one of the purposes) of this wonderful plugin to automatically add the rel attribute, so that we don’t have to add it to all the pictures ourselves?
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Rel attribute not being addedI might’ve been a bit stupid here: I had added a second WYSIWYG editor field to the post type “post”. It only happens in this field, that the rel attribute is not being added to the a element. Does anyone have an idea how to fix this?
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] New Site, Keep Wisija Newsletter Design?Hello again,
I do not have the tables wj_data and wj_styles in my databases (new and old, latest updates installed).
So I just exported one record out of wp_wysija_email and imported it into the new database, created a new record in the wp_wysija_campaign table and copied the campaign_id from this table into the imported record in wp_wysija_email.
Looks like it works so far. I’ll have it checked by the person who writes the newsletter to make sure there’s nothing missing.
Thanks,
FabianForum: Plugins
In reply to: [MailPoet Newsletters (Previous)] New Site, Keep Wisija Newsletter Design?Hey there,
Thanks for your response. That’s great, thanks for the hints. Won’t be a problem, just wanted to ask if there’s some sort of export-import functionality for the design, before messing with the database. Will do it and let you know..
Best,
FabianForum: Hacks
In reply to: get_posts() returns wrong custom post typeI was able to solve my problem, though I do not think that I found an answer here. I basically installed WordPress from scratch, uploaded my theme (exactly same code as before), and created two posts of that same post type, which would not show up. I did create these posts before creating any other posts. Last time, I began by adding two posts of another post type (the one that mistakenly showed up later). I don’t know if this was the problem. Anyhow, nothing happened this time, no posts at all showed up.
Until I changed the setting Front page displays in Settings > Reading to a static page (does not seem to matter what page this is).
However, I think I had set this very same setting before as well.This all might be a bit hard to understand. I won’t bother with it any longer and just be glad it finally works the way I want it to.
Forum: Fixing WordPress
In reply to: Position of ThickboxOh, I resolved this. Always the same, you think about a problem for weeks and weeks and spend hours tryna solve it, then you finally post something on the forums and a couple minutes later, you’ve solved it yourself.
I found that thickbox.css was not loaded at all.
In my functions.php I had the following function:
function mytheme_enqueue_scripts() { echo '<script type="text/javascript">var templateDir = "'.get_template_directory_uri().'";</script>'; wp_register_style( 'mytheme_admin', get_template_directory_uri() . '/css/admin.css' ); wp_register_script( 'mytheme_file-upload', get_template_directory_uri() . '/js/mytheme_file-upload.js', array( 'jquery', 'media-upload', 'thickbox' ) ); wp_register_script( 'mytheme_repeatable-fields', get_template_directory_uri() . '/js/mytheme_repeatable-fields.js', array( 'jquery', 'media-upload', 'thickbox' ) ); $post_types = get_post_types( array( '_builtin' => false ) , 'names' , 'and' ); if ( in_array( get_current_screen() -> id, $post_types ) ) { wp_enqueue_style( 'mytheme_admin' ); wp_enqueue_script( 'mytheme_file-upload' ); wp_enqueue_script( 'mytheme_repeatable-fields' ); } } add_action('admin_enqueue_scripts', 'mytheme_enqueue_scripts');I added this line:
wp_enqueue_style( 'thickbox' );And it’s working now. I don’t understand why the thickbox stylesheet had been loaded even without this line for all custom post types except for that one though.
Maybe this will help someone…
Cheers
Hi Dave, thanks for your reply.
This is actually a slight modification of the Vimeography default theme bugsauce. It’s in the videos.mustache file.
Apparently,
vimeography-embed-{{gallery_id}}produces the same for all videos in the same gallery. Which makes totally sense of course but then maybe gallery_id should not be in the id of the single videos, but instead something like video_id would be more fitting?!I would’ve liked to have this small mistake corrected in the default bugsauce theme, though I can go with my own.
Cheers,
FabianSorry, there’s the errors/warnings:
Forum: Themes and Templates
In reply to: Firefox cutting my contentHey zvitez, thanks for your reply! Unfortunately I have not seen it until just now. I somehow did not get email notifications.
I have set the
height:auto!myself because I-dunno-why… I think it was even related to this whole problem.Though I had it like this:
#content . entries { height:auto!important; }(see the space in front of
entries?!)and now changed it to the following:
#content .entries { height:auto!important; }And it works like a charm!
I cannot f*ing believe I did not see this and spent hours and hours on trying to fix this issue.
Thanks again for leading me to having a look at this line again:)
FForum: Plugins
In reply to: [Mini twitter feed] [Plugin: Mini twitter feed] Not working anymoreI though it might be caused by the Jetpack or the WP Stats Dashboard plugins, tried deactivating all the plugins, though it did not help.
I found that one status is orange right now… dunno if this is causing the problems. https://dev.twitter.com/status
Forum: Plugins
In reply to: [Mini twitter feed] [Plugin: Mini twitter feed] Not working anymoreHi there, having the same “on-and-off” problem as many right now. Has Twitter changed the API again, does anyone know anything?
Thanks guys
Great plugin, forgot to mention that!
Also, the following attributes cannot be validated:
frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreenPlus the charset declaration:
<script type="text/javascript" <strong>charset="utf8"</strong>>Forum: Themes and Templates
In reply to: Problems with IEThe earth is flat though, ain’t it?! :O
Yes I just changed them and set those styles with classes. Validation working now, thanks!
And hell that is great. IE9 is now displaying everything as perfect as it can! As well is IE9 in compatibility mode for IE8. In IE7 mode there are some more imperfections however I guess I can fix that pretty soon.
Shoulda thought of validation earlier, it’s been too long since the last serious coding:)
Thanks again, have a good evening (or whatever time it is where you are).