mrcangrejero
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Page TemplatesThanks, Tom. Guess that Udemy course is outdated.
If you are using a static page as your front page, 2017 will not use templates. Learned this the hard way. At some point I was able to work around this but it wasn’t worth the trouble. Eventually, I had to drop 2017 altogether. BTW, this was my experience. Maybe someone can enlighten us both.
Pardon my French but, are you guys inserting the code in a post/page or in a Page Template?
Did you add the content using the WP editor or did you add it to a template. If the latter, it will not show up because 2017 uses front-page.php for the static page. Hope this helps.
Forum: Fixing WordPress
In reply to: Twenty Seventeen – Styling Navigation Menu And Blog PageThanks, t-p.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Panels and Templates Don’t Get AlongThanks for your response, stilman. In fact, I’m working with a child theme. The problem is I can’t load my templates in “front-page.php”. Take care!
Forum: Fixing WordPress
In reply to: Assistance Request With 2017 Theme Top MenuI’m back, sooner than expected. The weather is nasty. Anyway.
It seems that, at some point, I messed up the “global.js” file in the parent. Since I overwrote it, can’t tell how. I’m using a new copy from a clean 2017 file and the problem is gone.
Once again, thanks!
Forum: Fixing WordPress
In reply to: Assistance Request With 2017 Theme Top MenuThanks, CJ, for your prompt advice.
You made me look at things a little different (kidding; a lot). I re-installed 2017 and now, when the parent theme is activated, the top menu sits where it was designed to. So, I guess that the problem is the child theme.
Looking over the “js” files, I found a file on the child’s root called “child-theme-js.js” that is not present in the parent. I got that morsel from the page “Five Excellent Ways To Hack …“, where I recall having implemented hacks 2 and 3. Following my technical wisdom, I deleted the file “child-theme-js.js” and the following piece of code from the child’s “functions.php” file.
// Enqueue child them js file add_action( 'wp_enqueue_scripts', 'child_theme_js' ); function child_theme_js() { wp_enqueue_script( 'child-theme-js' , get_stylesheet_directory_uri() . '/child-theme-js.js' , array( 'twentyseventeen-global' ) , false , true ); }
In spite of doing the above, the top menu continues to stay on top. Except for the above deleted function, I cleared the whole “functions.php” file and re-copied each function individually, testing along the way for errors. None where detected.
I have to take some time to fix my car. I will then deactivate all my plugins looking for culprits. Will keep you posted. Until then, the best to you and yours!
Forum: Plugins
In reply to: [Widget Importer & Exporter] Site Does Not Support WidgetOK. Here I go.
I’m running WordPress (WP) locally on XAAMP. The local “site” is configured for multisite. When importing the widgets file, I get what follows:
Homepage shapely_home_parallax We Change Everything WordPress Site does not support widget shapely_home_parallax SEO Friendly Site does not support widget shapely_home_parallax Portfolio Section Site does not support widget shapely_home_parallax Small Parallax Section Site does not support widget shapely_home_parallax Limitless Options Site does not support widget shapely_home_portfolio Our Latest Projects Site does not support widget shapely_home_testimonial What Our Customers Say Site does not support widget shapely_home_clients Our Partners Site does not support widget shapely_home_cfa Do you like this awesome WordPress theme? Site does not support widget
Any guidance appreciated. Thanks!
Forum: Fixing WordPress
In reply to: Conditionally Display Image on Header.phpMy thanks to Denzel Chia and catacaustic for their prompt and accurate help.
catacaustic’s example did the job. The best to you guys. Thanks again!
Forum: Fixing WordPress
In reply to: Display Some Content Based On Site LanguageThanks, Steve. Sorry I took so long to apologize.
UI changed my code to the following:
<?php> if ( is_page_template( 'page-templates/page-blog.php' ) ) { <h4>Blog</h4> } elseif ( is_page_template( 'page-templates/page-news.php' ) ) { <h4>Blog</h4> } else { <h4><?php the_title(); ?></h4> } ?>
However, my site freezes when I use it. Maybe you can help me with that. I’d appreciate it very much. The best to you and yours!
Forum: Fixing WordPress
In reply to: Page Templates Not Displaying in DropdownThanks, Liam. Solved the problem by not choosing a blog page in Settings == Reading. My custom template with the loop then delivers what I wanted. The best to you and yours!
Forum: Fixing WordPress
In reply to: Page Templates Not Displaying in DropdownTo: tabassumnaaz
See below.
To: Liam Dempsey
Your analysis is correct, I was wrong. The template drop down disappears when the page you create will end up displaying the posts; which is what I tried to do. Saved the template as index.php and page.php and now my posts are displayed in the template format I wanted. The only problem that remains is that my original templates both use custom fields and I loose that capability if the site uses index/page.php for posts. I then edited my original template by adding at its head “<?php /* * WP Post Template: Page for Blog */?>” and placed it in the site’s root, but I can’t tell if that makes any difference. Any further help is appreciated. Thanks!Forum: Fixing WordPress
In reply to: Color Schemes (like in 2016)Diving right into them Thanks, bdbrown!
Forum: Fixing WordPress
In reply to: Template Dropdown In Page Editor: Child ThemeTo Clarion Technologies
This worked like a charm. Can’t tell you enough how much I appreciate the guidance. The best to you, guys!