Tagged: x
-
AuthorPosts
-
September 22, 2016 at 12:37 am #1186009
Hello amazing X helpers-
I have a plugin installed called MyBookTable, which is a plugin for authors. I design websites for authors using the X theme exclusively. I also put MyBookTable on ALL of my sites. All plugins, X, Cornerstone and WP are up to date.
What’s happening is this: I believe that MBT uses a modified version of a WordPress post to create individual book listings, and creates a “book table” page which lists all books, sort of like a blog feed.
It’s an awesome plugin, but for some reason, it’s not getting along with X in the following ways. On the “book table” page (I rename it to “book store” for most of my sites) everything is fine. The books are there, the titles are there, all is well, BUT….
1. When you click a book title on that book store page, you are sent to that book’s individual listing, and two weird things are happening there. The first thing is that the PAGE title shows up as “THE BLOG”
2. The second thing is that the BOOK title is completely missing from where it belongs above all of the book’s info. This is really freaking me out.
I asked for help from the MyBookTable support and here is the really weird response I got to this same question:
“If changing the name of the book table from your settings isn’t changing the name on your site then it does seem to be a theme incompatibility. I’ll let our developer’s know about the problem, if there is a solution it would probably come from messing with your theme or using a shortcode custom to your site.”
(Um, what?!)
I am just lost. I wish so badly that X and MyBookTable would learn how to get along. I can’t figure out how to fix these two things for the life of me. I’m not a coder, so maybe that’s part of my problem, I don’t know. Please, for the love of all that is holy, tell me what in the heck I need to do to fix this!
Here is their website, in case it’s helpful at all to you. http://www.authormedia.com/all-products/mybooktable/
And I’m attaching screenshots of the page that’s behaving correctly – with correct page name and book titles intact, and of the single book page, which is acting like a lunatic by showing THE BLOG as the page title and by completely omitting the book title.
I appreciate your help more than you could possibly know!
xo I love you amazing people. I eagerly await your response, and pray that it’s easy enough for a first grader to comprehend and execute.
P.S. If you need to see the site I’m currently fussing with it’s http://alexbledsoe.com
September 22, 2016 at 1:10 am #1186033Hi There,
This is how it works by default. See this:http://demo.theme.co/renew-1/5-reasons-you-need-the-x-theme/
1.) To change The BLOG title, please copy _landmark-header.php file from \wp-content\themes\x\framework\views\renew to your child theme folder here: \wp-content\themes\x-child\framework\views\renew. Open the copied file and replace the content with the following:
<?php // ============================================================================= // VIEWS/RENEW/_LANDMARK-HEADER.PHP // ----------------------------------------------------------------------------- // Handles content output of large headers for key pages such as the blog or // search results. // ============================================================================= $disable_page_title = get_post_meta( get_the_ID(), '_x_entry_disable_page_title', true ); $breadcrumbs = x_get_option( 'x_breadcrumb_display' ); ?> <?php if ( ! x_is_blank( 1 ) && ! x_is_blank( 2 ) && ! x_is_blank( 4 ) && ! x_is_blank( 5 ) ) : ?> <?php if ( is_page() && $disable_page_title == 'on' ) : ?> <?php else : ?> <header class="x-header-landmark"> <div class="x-container max width"> <div class="x-landmark-breadcrumbs-wrap"> <div class="x-landmark"> <?php if ( x_is_shop() || x_is_product() ) : ?> <h1 class="h-landmark"><span><?php echo x_get_option( 'x_renew_shop_title' ); ?></span></h1> <?php elseif ( x_is_bbpress() ) : ?> <h1 class="h-landmark"><span><?php echo get_the_title(); ?></span></h1> <?php elseif ( x_is_buddypress() ) : ?> <?php if ( x_buddypress_is_component_with_landmark_header() ) : ?> <h1 class="h-landmark"><span><?php echo x_buddypress_get_the_title(); ?></span></h1> <?php endif; ?> <?php elseif ( is_page() ) : ?> <h1 class="h-landmark entry-title"><span><?php the_title(); ?></span></h1> <?php elseif ( is_home() || is_single() ) : ?> <?php if ( x_is_portfolio_item() ) : ?> <h1 class="h-landmark"><span><?php echo x_get_parent_portfolio_title(); ?></span></h1> <?php elseif (is_singular( array( 'mbt_book' ) ) ) : ?> <h1 class="h-landmark"><span><?php echo get_the_title(); ?></span></h1> <h1 class="h-landmark"><span>Custom Post type</span></h1> <?php else : ?> <h1 class="h-landmark"><span><?php echo x_get_option( 'x_renew_blog_title' ); ?></span></h1> <?php endif; ?> <?php elseif ( is_search() ) : ?> <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); ?></span></h1> <?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title; ?></span></h1> <?php elseif ( is_tag() || x_is_portfolio_tag() || x_is_product_tag() ) : ?> <?php $meta = x_get_taxonomy_meta(); $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Tag Archive', '__x__' ); ?> <h1 class="h-landmark"><span><?php echo $title ?></span></h1> <?php elseif ( is_404() ) : ?> <h1 class="h-landmark"><span><?php _e( 'Oops!', '__x__' ); ?></span></h1> <?php elseif ( is_year() ) : ?> <h1 class="h-landmark"><span><?php _e( 'Post Archive by Year', '__x__' ); ?></span></h1> <?php elseif ( is_month() ) : ?> <h1 class="h-landmark"><span><?php _e( 'Post Archive by Month', '__x__' ); ?></span></h1> <?php elseif ( is_day() ) : ?> <h1 class="h-landmark"><span><?php _e( 'Post Archive by Day', '__x__' ); ?></span></h1> <?php elseif ( x_is_portfolio() ) : ?> <h1 class="h-landmark"><span><?php the_title(); ?></span></h1> <?php endif; ?> </div> <?php if ( $breadcrumbs == '1' ) : ?> <?php if ( ! is_front_page() && ! x_is_portfolio() ) : ?> <div class="x-breadcrumbs-wrap"> <?php x_breadcrumbs(); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ( x_is_portfolio() ) : ?> <div class="x-breadcrumbs-wrap"> <?php x_portfolio_filters(); ?> </div> <?php endif; ?> </div> </div> </header> <?php endif; ?> <?php endif; ?>
Look for this part of the code:
<?php elseif (is_singular( array( 'mbt_book' ) ) ) : ?> <h1 class="h-landmark"><span><?php echo get_the_title(); ?></span></h1> <h1 class="h-landmark"><span>Custom Post type</span></h1>
This line :
<h1 class="h-landmark"><span><?php echo get_the_title(); ?></span></h1>
will display post title(Book Title) while on this one:<h1 class="h-landmark"><span>Custom Post type</span></h1>
you can specify specific title you want.2.)
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 22, 2016 at 2:08 pm #1186874This reply has been marked as private.September 22, 2016 at 8:29 pm #1187288Hi there,
Yes, please provide your FTP login credentials. I just checked and I can’t rule out that it’s due to the theme yet. Their plugin’s content are wrapped within their content, and the title is displayed within its content. Hence, theme’s template is not being used when displaying their content, but it’s their plugin’s template.
Let’s compare, here is the generated code from their demo
<div id="mbt-container"> <div itemscope="" itemtype="http://schema.org/Book" id="post-8619" class="mbt-book"><div class="mbt-breadcrumbs"><a href="http://www.authormedia.com">Home</a> > <a href="http://www.authormedia.com/book-table/">Store</a> > <a href="http://www.authormedia.com/store/platform-get-noticed-in-a-noisy-world/">Platform: Get Noticed In a Noisy World</a></div><div class="mbt-book-images"> <img itemprop="image" alt="Platform: Get Noticed In a Noisy World" class=" mbt-book-image" sizes="15vw" src="http://1kkihmvglky39oxo03l2hnz9.wpengine.netdna-cdn.com/wp-content/uploads/2013/06/Platform-Get-Noticed-in-a-Noisy-World.jpg" srcset="http://1kkihmvglky39oxo03l2hnz9.wpengine.netdna-cdn.com/wp-content/uploads/2013/06/Platform-Get-Noticed-in-a-Noisy-World.jpg 260w, http://1kkihmvglky39oxo03l2hnz9.wpengine.netdna-cdn.com/wp-content/uploads/2013/06/Platform-Get-Noticed-in-a-Noisy-World-201x300.jpg 201w, http://1kkihmvglky39oxo03l2hnz9.wpengine.netdna-cdn.com/wp-content/uploads/2013/06/Platform-Get-Noticed-in-a-Noisy-World-134x200.jpg 134w"></div><div class="mbt-book-right"><div class="mbt-book-socialmedia-badges"><iframe src="https://plusone.google.com/_/+1/fastbutton?url=http%3A%2F%2Fwww.authormedia.com%2Fstore%2Fplatform-get-noticed-in-a-noisy-world%2F&size=tall&count=true&annotation=bubble" class="mbt-gplusone" style="width: 55px; height: 61px; margin: 0px; border: none; overflow: hidden;" frameborder="0" hspace="0" vspace="0" marginheight="0" marginwidth="0" scrolling="no" allowtransparency="true"></iframe><iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.authormedia.com%2Fstore%2Fplatform-get-noticed-in-a-noisy-world%2F&layout=box_count" class="mbt-fblike" style="width: 50px; height: 61px; margin: 0px; border: none; overflow: hidden;" scrolling="no" frameborder="0" allowtransparency="true"></iframe></div><h1 itemprop="name" class="mbt-book-title">Platform: Get Noticed In a Noisy World</h1><div class="mbt-book-price"> </div> .....
You’ll notice that
<h1 itemprop="name" class="mbt-book-title">Platform: Get Noticed In a Noisy World</h1>
is within the plugin’s code, hence, it shouldn’t be affected by the theme’s template.Thanks!
September 22, 2016 at 10:03 pm #1187414This reply has been marked as private.September 22, 2016 at 10:07 pm #1187416Also, here’s the latest unhelpful response from the MyBookTable people:
“If the plugin is incompatible with the theme I’m afraid there isn’t anything that can be done inherent to the system. Either something custom has to be done to the plugin to make it work with the theme or something custom has to be done to the theme to make it work with the plugin. In either work it’s going to require custom work which we aren’t able to advise you on as we don’t know the specifics of your site.
I’ve let our developers know about the inconsistency so we might be able to fix the problem in a future version of the plugin.”
September 23, 2016 at 12:10 am #1187501Hi there,
Thanks for writing back. Sorry if that sounds a bit geeky to you but as the plugin developer said, it’s need a bit custom development, you or your developer need to implement something to overcome if you still want to use the plugin. Let’s seek help from a developer if you feel uncomfortable doing this or find another alternative. We really can’t help much on third party plugin while we certainly feel sad to see you unhappy with something.
Thanks for understanding.
September 23, 2016 at 12:46 am #1187528This reply has been marked as private.September 23, 2016 at 1:18 am #1187553Hi there,
We can’t consult it to them for incompatibility. Our capability as forum support is limited, but I’ll forward this discussion to someone we can help better 😉
Thanks!
September 23, 2016 at 7:00 am #1187804Hi there Chelsea!
I’ll see what the developers of the plugin say and if they can introduce some form of compatibility.
Thanks!
-
AuthorPosts