Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter typhon

    (@typhon)

    Actually it should be 50,00€ (with a comma), but 50.00€ would be better already.

    I managed this by changing an entry in wp_options table. I don’t recommend doing this to others as I don’t know this plugin very well, and don’t know if there are side effects.

    Dear Ladela, can you suggest a fix we could use before the next version of the plugin comes out? I am able to modify code and database if that is what is needed.

    Thread Starter typhon

    (@typhon)

    Sweet, thanks! That solves my problem.

    I like this plugin.

    Thread Starter typhon

    (@typhon)

    No problem, thanks for checking this out. I like this plugin, it’s simpler to use than ones with shortcodes like “one_third” and “two_third_last”.

    Thread Starter typhon

    (@typhon)

    Hi,

    unfortunately I can’t provide a link to an example page. But I tried this again on a fresh WordPress install (this was version 3.5.1 because I happened to have it installed already). Theme was Twentytwelve.

    I made a page with a gallery with 3 pictures. In the editor, using text input mode I wrote this:

    Hi, I'm testing Columns plugin.
    
    [gallery ids="62,64,63"]

    The output was ok:

    <article id="post-66" class="post-66 page type-page status-publish hentry">
    		<header class="entry-header">
    			<h1 class="entry-title">Test page</h1>
    		</header>
    
    		<div class="entry-content">
    			<p>Hi, I’m testing Columns plugin.</p>
    
    		<style type='text/css'>
    			#gallery-1 {
    				margin: auto;
    			}
    			#gallery-1 .gallery-item {
    				float: left;
    				margin-top: 10px;
    				text-align: center;
    				width: 33%;
    			}
    			#gallery-1 img {
    				border: 2px solid #cfcfcf;
    			}
    			#gallery-1 .gallery-caption {
    				margin-left: 0;
    			}
    		</style>
    		<!-- see gallery_shortcode() in wp-includes/media.php -->
    		<div id='gallery-1' class='gallery galleryid-66 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>
    			<dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=62' title='tv'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-150x150.jpg" class="attachment-thumbnail" alt="tv" /></a>
    			</dt></dl><dl class='gallery-item'>
    			<dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=64' title='tv-1-s'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-1-s-150x150.jpg" class="attachment-thumbnail" alt="tv-1-s" /></a>
    			</dt></dl><dl class='gallery-item'>
    			<dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=63' title='tv-1'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-1-150x150.jpg" class="attachment-thumbnail" alt="tv-1" /></a>
    			</dt></dl><br style="clear: both" />
    			<br style='clear: both;' />
    		</div>
    
    					</div><!-- .entry-content -->
    		<footer class="entry-meta">
    			<span class="edit-link"><a class="post-edit-link" href="[my_domain]/ohjewp/wp-admin/post.php?post=66&action=edit" title="Muokkaa sivua">Muokkaa</a></span>		</footer><!-- .entry-meta -->
    	</article><!-- #post -->

    Then I introduced the columns. In text input mode I wrote:

    [column-group]
    [column]
    Hi, I'm testing Columns plugin.
    [/column]
    [column]
    [gallery ids="62,64,63"]
    [/column]
    [/column-group]

    The output was

    <article id="post-66" class="post-66 page type-page status-publish hentry">
    		<header class="entry-header">
    			<h1 class="entry-title">Test page</h1>
    		</header>
    
    		<div class="entry-content">
    			<div class="column-group columns-2"><br />
    <div class="column column-number-1 column-span-1"><p>
    Hi, I’m testing Columns plugin.</p>
    </div><br />
    <div class="column column-number-2 last column-span-1"><p></p>
    <style type='text/css'>
    			#gallery-1 {
    				margin: auto;
    			}
    			#gallery-1 .gallery-item {
    				float: left;
    				margin-top: 10px;
    				text-align: center;
    				width: 33%;
    			}
    			#gallery-1 img {
    				border: 2px solid #cfcfcf;
    			}
    			#gallery-1 .gallery-caption {
    				margin-left: 0;
    			}
    		</style>
    <p>		<!-- see gallery_shortcode() in wp-includes/media.php --></p>
    <div id='gallery-1' class='gallery galleryid-66 gallery-columns-3 gallery-size-thumbnail'>
    <dl class='gallery-item'>
    <dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=62' title='tv'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-150x150.jpg" class="attachment-thumbnail" alt="tv" /></a>
    			</dt>
    </dl>
    <dl class='gallery-item'>
    <dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=64' title='tv-1-s'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-1-s-150x150.jpg" class="attachment-thumbnail" alt="tv-1-s" /></a>
    			</dt>
    </dl>
    <dl class='gallery-item'>
    <dt class='gallery-icon'>
    				<a href='[my_domain]/ohjewp/?attachment_id=63' title='tv-1'><img width="150" height="150" src="[my_domain]/ohjewp/wp-content/uploads/2013/08/tv-1-150x150.jpg" class="attachment-thumbnail" alt="tv-1" /></a>
    			</dt>
    </dl>
    <p><br style="clear: both" /><br />
    			<br style='clear: both;' />
    		</div>
    <p></p>
    </div><br />
    </div>
    					</div><!-- .entry-content -->
    		<footer class="entry-meta">
    			<span class="edit-link"><a class="post-edit-link" href="[my_domain]/ohjewp/wp-admin/post.php?post=66&action=edit" title="Muokkaa sivua">Muokkaa</a></span>		</footer><!-- .entry-meta -->
    	</article><!-- #post -->

    So there are extra br and p tags in several places. Trying to use double line breaks somewhere in editor, in text input mode, seemed to make the output even worse.

    @gicolek: Thanks a lot! Your code example helped me enormously. I wanted an input box for sidebar content and I had been researching if I could do it with metaboxes when I found your great example and explanation.

    Thanks to Steven Jones for pointing out the ACF plugin. I’ll probably try it if I ever need something more complex.

    Forum: Fixing WordPress
    In reply to: broken links

    I understand you don’t want to change you tag/category urls, I just don’t know how to get their default values to work for you.

    When you changed pagination base with the code in functions.php, did you check if it took effect? I mean, if you changed it to pages, did your “Older posts” link on the front page start to point to https://www.korywoodard.com/pages/2/ instead of
    https://www.korywoodard.com/page/2/ ?
    Or did you try to enter https://www.korywoodard.com/pages/2/ by entering it into browser’s address field after changing pagination base?

    From discussions I’ve understood that plugins might make changes that won’t go away even after deactivating them (don’t know how that works). I think that would be a likely cause for your troubles if you haven’t changed anything by yourself. I mean, for example, to my understanding something has changed your tag base from tag to tags and probably category base to something else.

    There’s this help page:
    https://codex.www.ads-software.com/Pagination#Troubleshooting_Broken_Pagination
    although I think those tips won’t help in your case.

    If no one knows easier ways to go, I think you should try debugging your site to try to find out for example if cat/tag/pagination bases get changed at some point of execution or what else might be going on. It’s not recommended to do it on a live site, but if you don’t have a duplicate test site, you might not have a choice.

    I’m just starting to use wordpress and can’t help much with debugging.
    There’s this: https://codex.www.ads-software.com/Debugging_in_WordPress

    If you haven’t done that kind of thing before, it might be difficult.

    Can anyone help with that? Has someone better ideas?

    Forum: Fixing WordPress
    In reply to: broken links

    Isn’t it just your front page where pagination (older/newer post links) doesn’t work? It seems to work in category and tag archive pages for example.

    I also noticed that your tag archive pages aren’t working. For example: https://www.korywoodard.com/tag/home-decor/

    Instead this is working:
    https://www.korywoodard.com/tags/home-decor/

    so I guess the tag base is modified at some point from tag to tags. Maybe you could fix this too by trying to set the tag base to the default value tag in permalink settings -> optional -> tag base, or if the default value won’t work, try something else, for example, tags, or still something else if even that won’t work.

    It would be my guess to try to assign the default or a custom value to pagination_base too, and see if it fixed your home page’s “Older/newer posts” links, since all the links problems might be related.

    Taken from here (slightly modified):
    https://www.ads-software.com/support/topic/change-pagination_base?replies=7
    try adding this to the end of your theme’s functions.php:

    function my_custom_pagination_base() {
    	global $wp_rewrite;
    
      // Change the value of the author permalink base to whatever you want here
    	  $wp_rewrite->pagination_base = 'page';
    
    	  $wp_rewrite->flush_rules();
    }
    add_action( 'init', 'my_custom_pagination_base', 10000 );

    Remember to empty browser cache before trying out if it worked.
    If it’s not working, try something else for pagination_base: change the 5th line to
    $wp_rewrite->pagination_base = 'pages';

    If not working, just to be sure, try keeping the last modification and change the last line to be
    add_action( 'init', 'my_custom_pagination_base', PHP_INT_MAX );

    A quick search on google shows that at least Yoast SEO has caused lots of similar problems. People have been able to sometimes fix them by toggling Yoast SEO settings on and off. What other plugins are you using by the way?

    Forum: Fixing WordPress
    In reply to: broken links

    And, trying this wouldn’t hurt: https://dre.im/if-pages-return-a-404-after-wordpress-3-1-upgrade/
    That seems to have helped lots of people even quite recently (not just 3.1 upgrade). Also update stuff if there are available updates. Someone had had similar problem fixed by updating his twentytwelve theme.

    Forum: Fixing WordPress
    In reply to: broken links

    How about in Permalink Settings -> Optional -> Category Base: write the default value: category into it. Do category pages work then? If that doesn’t work, how about changing it into something else, for example category_base. Does page /category_base/design show your category then?

    Forum: Fixing WordPress
    In reply to: broken links

    I’d try to create a new category with all the plugins turned off and see if the new category page works. If it worked, I’d delete and recreate all the categories. Does anyone else know what might be wrong?

    Forum: Fixing WordPress
    In reply to: broken links

    I can’t tell. But what about if you go to Posts -> Categories and select View for some category, say “design”, to which URL does that take you?

    Forum: Fixing WordPress
    In reply to: broken links

    No need to change anything if you have installed wordpress to your web document root — it’s correct.

    At least wordpress has no problems writing that file so no need to toggle the permalinks settings or change write permissions. I don’t know what to do though.

    Forum: Fixing WordPress
    In reply to: broken links

    Better copy the contents of .htaccess here too.

Viewing 15 replies - 1 through 15 (of 16 total)