Weishaupt
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Omit all unnecasary stylesHello,
I get your point. I decided to build a plugin, that archives the functionality, I want. I’ll publish it in the plugin directory, once it is ready, and I adhere the coding styles (first plugin).
Thank you for your help.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Omit all unnecasary stylesOkay, just to let you know: Trying to adapt the style via the Custom CSS isn’t really feasible.
For example. My theme uses
tbody tr td { border-bottom: 1px dashed; border-color: #999; }
But tablepress uses
.tablepress tbody td { border-top: 1px solid #dddddd; }
So I have to set border-top to none and border bottom the way I like it.
Basically, I’d need to do something like a reset. It would be much easier to just have an option in table press to disable their markup.
Especially, if you ever switch theme, or the theme changes its table markup.
I’d be happy, if you could reconsider the option.f
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Omit all unnecasary stylesHallo, thank you for your answer.
First off: At least the third idea is a valid workaround, as you don’t have to touch the theme files (I wouldn’t suggest that because of upgrade compatibility of the theme).
Still I have to vouch for an option in the settings. You can deliver the CSS on a conditional (full or just minimal markup) which wouldn’t increase server load and queries. Of course the current full blown markup would be standard and in the options, the user could turn that off.
I’ll try with option three for now and will report back.
Forum: Themes and Templates
In reply to: [m1] .pot File has wrong entries.Please take the correct .pot file that is attached.
I generated it with POEdit.
msgid "" msgstr "" "Project-Id-Version: m1\n" "POT-Creation-Date: 2013-08-25 17:23+0100\n" "PO-Revision-Date: 2013-08-25 19:40+0100\n" "Last-Translator: Marvin Dickhaus <[email protected]>\n" "Language-Team: \n" "Language: en_US\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e ;" "esc_html_x:1,2c\n" "X-Poedit-Basepath: ..\n" "X-Poedit-SourceCharset: UTF-8\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SearchPath-0: .\n" #: content.php:25 content-archive.php:22 msgid "Continue reading <span class=\"meta-nav\">→</span>" msgstr "" #: content.php:28 content-archive.php:26 content-page.php:15 #: content-single.php:19 image.php:61 msgid "Pages:" msgstr "" #: content.php:39 content.php:49 content-archive.php:35 content-archive.php:38 #: content-single.php:28 content-single.php:31 msgid ", " msgstr "" #: content.php:43 content-archive.php:53 content-single.php:46 #, php-format msgid "Category: %1$s" msgstr "" #: content.php:54 #, php-format msgid "Tags: %1$s" msgstr "" #: content.php:61 msgid "Leave a comment" msgstr "" #: content.php:61 msgid "1 Comment" msgstr "" #: content.php:61 msgid "% Comments" msgstr "" #: content.php:64 content-archive.php:67 content-page.php:20 #: content-single.php:60 image.php:36 image.php:79 inc/template-tags.php:71 #: inc/template-tags.php:90 msgid "Edit" msgstr "" #: archive.php:18 #, php-format msgid "Category Archives: %s" msgstr "" #: archive.php:21 #, php-format msgid "Tag Archives: %s" msgstr "" #: archive.php:28 #, php-format msgid "Author Archives: %s" msgstr "" #: archive.php:36 #, php-format msgid "Daily Archives: %s" msgstr "" #: archive.php:39 #, php-format msgid "Monthly Archives: %s" msgstr "" #: archive.php:42 #, php-format msgid "Yearly Archives: %s" msgstr "" #: archive.php:45 msgid "Asides" msgstr "" #: archive.php:48 msgid "Images" msgstr "" #: archive.php:51 msgid "Videos" msgstr "" #: archive.php:54 msgid "Quotes" msgstr "" #: archive.php:57 msgid "Links" msgstr "" #: archive.php:60 sidebar.php:17 msgid "Archives" msgstr "" #: searchform.php:9 msgctxt "assistive text" msgid "Search" msgstr "" #: 404.php:15 msgid "Oops! That page can’t be found." msgstr "" #: 404.php:19 msgid "" "It looks like nothing was found at this location. Maybe try one of the links " "below or a search?" msgstr "" #: 404.php:27 msgid "Most Used Categories" msgstr "" #: 404.php:44 #, php-format msgid "Try looking in the monthly archives. %1$s" msgstr "" #: comments.php:48 msgid "Comment navigation" msgstr "" #: comments.php:49 msgid "← Older Comments" msgstr "" #: comments.php:50 msgid "Newer Comments →" msgstr "" #: comments.php:60 msgid "Comments are closed." msgstr "" #: functions.php:49 msgid "Primary Menu" msgstr "" #: functions.php:50 msgid "Top Menu" msgstr "" #: functions.php:97 msgid "Sidebar" msgstr "" #: functions.php:105 msgid "Header" msgstr "" #: functions.php:107 msgid "A single search widget works best here." msgstr "" #: functions.php:114 msgid "Footer" msgstr "" #: functions.php:116 msgid "Use 3 widgets max for best results." msgstr "" #: functions.php:172 msgid "Thanks for choosing the m1 Theme! Please use the <strong><a href=\"" msgstr "" #: content-archive.php:43 #, php-format msgid "Tags: %2$s" msgstr "" #: content-archive.php:51 content-single.php:36 content-single.php:44 #, php-format msgid "Category: %1$s Tags: %2$s" msgstr "" #: no-results.php:13 msgid "Nothing Found" msgstr "" #: no-results.php:19 #, php-format msgid "" "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." msgstr "" #: no-results.php:23 msgid "" "Sorry, but nothing matched your search terms. Please try again with some " "different keywords." msgstr "" #: no-results.php:28 msgid "" "It seems we can’t find what you’re looking for. Perhaps " "searching can help." msgstr "" #: footer.php:27 #, php-format msgid "Proudly powered by %s" msgstr "" #: footer.php:29 #, php-format msgid "Theme: %1$s by %2$s." msgstr "" #: sidebar.php:24 msgid "Meta" msgstr "" #: search.php:11 #, php-format msgid "Search Results for: %s" msgstr "" #: image.php:25 #, php-format msgid "" "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=" "\"%1$s\">%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size " "image\">%4$s × %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" " "rel=\"gallery\">%8$s</a>" msgstr "" #: image.php:54 msgid "<span class=\"meta-nav\">←</span> Previous" msgstr "" #: image.php:55 msgid "Next <span class=\"meta-nav\">→</span>" msgstr "" #: image.php:70 #, php-format msgid "" "<a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">Post a " "comment</a> or leave a trackback: <a class=\"trackback-link\" href=\"%s\" " "title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>." msgstr "" #: image.php:72 #, php-format msgid "" "Comments are closed, but you can leave a trackback: <a class=\"trackback-link" "\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback" "\">Trackback URL</a>." msgstr "" #: image.php:74 msgid "" "Trackbacks are closed, but you can <a class=\"comment-link\" href=\"#respond" "\" title=\"Post a comment\">post a comment</a>." msgstr "" #: image.php:76 msgid "Both comments and trackbacks are currently closed." msgstr "" #: header.php:52 msgid "Menu" msgstr "" #: header.php:73 msgid "Close Menu" msgstr "" #: header.php:74 msgid "Skip to content" msgstr "" #: inc/extras.php:66 #, php-format msgid "Page %s" msgstr "" #: inc/customizer.php:62 msgid "Layout Options" msgstr "" #: inc/customizer.php:79 msgid "Footer Credits" msgstr "" #: inc/customizer.php:85 msgid "Footer Credits (HTML allowed)" msgstr "" #: inc/customizer.php:93 msgid "Home Banner" msgstr "" #: inc/customizer.php:101 msgid "Display Banner (shows on Front Page Template)" msgstr "" #: inc/customizer.php:108 msgid "Home Banner Image (1100px by 350px)" msgstr "" #: inc/customizer.php:115 msgid "Home Banner Text (HTML allowed)" msgstr "" #: inc/customizer.php:125 msgid "Social Icons" msgstr "" #: inc/customizer.php:133 msgid "Facebook Profile URL" msgstr "" #: inc/customizer.php:141 msgid "Twitter Profile URL" msgstr "" #: inc/customizer.php:149 msgid "Email Address" msgstr "" #: inc/customizer.php:157 msgid "RSS Feed URL" msgstr "" #: inc/customizer.php:165 msgid "LinkedIn URL" msgstr "" #: inc/customizer.php:173 msgid "Google Plus URL" msgstr "" #: inc/customizer.php:181 msgid "Pinterest URL" msgstr "" #: inc/customizer.php:189 msgid "YouTube URL" msgstr "" #: inc/customizer.php:196 msgid "Upload Custom Logo" msgstr "" #: inc/customizer.php:203 msgid "Upload Logo (replaces text)" msgstr "" #: inc/customizer.php:216 msgid "Accent Color" msgstr "" #: inc/customizer.php:222 msgid "Header/Footer Background" msgstr "" #: inc/customizer.php:228 msgid "Top Menu/Drops Background" msgstr "" #: inc/customizer.php:234 msgid "Nav Menus Link Color" msgstr "" #: inc/customizer.php:240 msgid "Text Color" msgstr "" #: inc/customizer.php:246 msgid "Body Link Color" msgstr "" #: inc/customizer.php:252 msgid "Link/Button Hover Color" msgstr "" #: inc/template-tags.php:34 msgid "Post navigation" msgstr "" #: inc/template-tags.php:38 msgctxt "Previous post link" msgid "←" msgstr "" #: inc/template-tags.php:39 msgctxt "Next post link" msgid "→" msgstr "" #: inc/template-tags.php:44 msgid "<span class=\"meta-nav\">←</span> Older posts" msgstr "" #: inc/template-tags.php:48 msgid "Newer posts <span class=\"meta-nav\">→</span>" msgstr "" #: inc/template-tags.php:71 msgid "Pingback:" msgstr "" #: inc/template-tags.php:81 #, php-format msgid "%s <span class=\"says\">says:</span>" msgstr "" #: inc/template-tags.php:87 #, php-format msgctxt "1: date, 2: time" msgid "%1$s at %2$s" msgstr "" #: inc/template-tags.php:94 msgid "Your comment is awaiting moderation." msgstr "" #: inc/template-tags.php:166 #, php-format msgid "" "Posted on <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=" "\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"byline\"> by " "<span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s" "\" rel=\"author\">%7$s</a></span></span>" msgstr "" #: inc/template-tags.php:172 #, php-format msgid "View all posts by %s" msgstr ""
Forum: Themes and Templates
In reply to: [m1] Don't apply accentcolor on Prev, Next LinksI’ve created a patch, to resolve this issue. I’d be glad, if you’d merge it with the master.
From 8425acc7bb269570915e73f90403d16e85e072dc Mon Sep 17 00:00:00 2001 From: Marvin Dickhaus <[email protected]> Date: Sun, 25 Aug 2013 14:04:31 +0200 Subject: [PATCH] Next and Previous links are highlighted correctly. --- inc/customizer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/customizer.php b/inc/customizer.php index 865921a..c3dd5cb 100755 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -308,11 +308,11 @@ function m1_customizer_css() { <?php if ( $link_color ) : ?>#main a, #main a:visited, .site-footer a, .site-footer a:visited { color: <?php echo $link_color; ?>; }<?php endif; ?> <?php if ( $top_menu_link_color ) : ?>.top-menu a, .top-menu ul ul a, .navigation-main a, .navigation-main ul ul a, .navigation-main li.sfHover a, .m1-social-icons a { color: <?php echo $top_menu_link_color; ?>; }<?php endif; ?> <?php if ( $accent_color ) : ?>#main a:hover, a:focus, a:active, .site-title a, .top-menu li a:hover, .top-menu li.current_page_item > a, .top-menu li.current-menu-item > a, .navigation-main li a:hover, .navigation-main li.current_page_item > a, .navigation-main li.current-menu-item > a { color: <?php echo $accent_color; ?>; } - button, .button, html input[type="button"], input[type="reset"], input[type="submit"], .more-link, .nav-previous a, .nav-next a, .page-links a { background-color: <?php echo $accent_color; ?>; } + button, .button, html input[type="button"], input[type="reset"], input[type="submit"], .more-link, .page-links a { background-color: <?php echo $accent_color; ?>; } .site-header { border-top-color: <?php echo $accent_color; ?>; } <?php endif; ?> - <?php if ( $link_hover_color ) : ?>#main a:hover, .site-footer a:hover, .top-menu li a:hover, .navigation-main li a:hover, .m1-social-icons a:hover { color: <?php echo $link_hover_color; ?>; } - button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .more-link:hover, .nav-previous a:hover, .nav-next a:hover, .page-links a:hover { background-color: <?php echo $link_hover_color; ?>; } + <?php if ( $link_hover_color ) : ?>#main a:hover, .site-footer a:hover, .top-menu li a:hover, .navigation-main li a:hover, .m1-social-icons a:hover, .nav-previous a:hover, .nav-next a:hover { color: <?php echo $link_hover_color; ?>; } + button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .more-link:hover, .page-links a:hover { background-color: <?php echo $link_hover_color; ?>; } <?php endif; ?> <?php if ( get_theme_mod( 'm1_layout' ) == "side-left" ) : ?> #primary { float: right; } @@ -321,4 +321,4 @@ function m1_customizer_css() { </style> <?php } -add_action( 'wp_head', 'm1_customizer_css', 210 ); \ No newline at end of file +add_action( 'wp_head', 'm1_customizer_css', 210 ); -- 1.8.1.2