mxpimp47
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Mobile Nav problemThanks again!
Forum: Themes and Templates
In reply to: Mobile Nav problemThats default from the style sheet, I haven’t dug into any styling just yet. BUT I JUST DID – that was the dang problem. Why they heck would they have that!? Another set of eyes always helps!
I will make the necessary changes and proceed. I appreciate your help. The community is always great here!
Hand to forehead!
Forum: Themes and Templates
In reply to: Mobile Nav problemCause there is none! ?? I stated above in the first post
I am using a blank install of underscores starter theme.
I will build upon this. My approach is mobile first. So I was plugging in the mobile nav functionality I would like. And I was unsuccessful. Scale the browser down below 600px
you should see this – https://postimg.org/image/a7j3jaqvl/
Forum: Themes and Templates
In reply to: Mobile Nav problembeta.freestonemx.com be sure to scale the browser down to a mobile viewport size below 600px to see the menu trigger “Menu – CTA”
Forum: Themes and Templates
In reply to: Mobile Nav problemThe issue is, when you click the mobile menu (“Menu CTA” for test purposes). Nothing happens and the event is not triggered to display the mobile menu. The page should slide over to the right displaying the mobile menu. Should look like the photo attached but with no styling.
Forum: Fixing WordPress
In reply to: If else to hide div when meta is not attached to postAnyone? I need some wizards help!
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsThanks. I just know that sometimes with all the necessary hooks for functions its is hard for me to wrap my head around sometimes.
Thanks again for the help. The community has always got me through a hang up!
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsEdit- the way I had it worked too as far as my previous post once I resolved whats below. But for better readability is it more appropriate to have it the last way you posted?
After digging into it further it was within the adrotate ad settings, not an actual problem. Some how the closing tag for the url was left off and breaking the layout. But its up and running now.
Thanks so much for the help with this. I appreciate it.
One last question – any resources you recommend reading up on to help bridge the gap between wordpress and standard php usage? It takes a bit to figure out things or outside help or clarification when working with wordpress. I find standard php examples all the time. But sometimes I cant apply them cause I don’t know how to tweak it to work with wordpress functions etc…
Again thanks for the help!
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsok i got it working. but I need just a little help cleaning up how this part is written –
/* Set up and display AdRotate content */ if ($count % 5 == 0){ // Returns True every 5th post echo '<div class="boxed-mason col2"><div class="content-container">'; echo adrotate_ad(1); // Displays Ads on Frontend echo '</div></div>'; }
its not wrapping those two divs around the adrotate correctly and its leaving theme open and breaking the layout. And the other post are inside of the opening divs. you can view the page an see what I am talking about.
Thanks for helping me with this I really appreciate this a lot.
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsThanks esmi – that is useful info for future issues!
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsAhhh it is showing the index.php template is being used! I wonder how its over riding the selected template chosen on the page attributes – hmmm.
here is the index.php template pastebin – https://pastebin.com/K4ftRnmE
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsNo, there is a template named “homepage” that should override anything when chosen on the page admin under “page attributes”. That usually works. But that page’s loop calls a template that runs the actual loop that was in the pastebin link above – content-blog.php
You saw that part of code
get_template_part('content','blog');
in the code you corrected for me.So maybe thats where the $count needs to be. But its far from a simple loop for me to figure out the placement. If it were a standard loop like from twenty twelve it would be much easier. Thats why I needed assistance from a wizard such as your self ;).
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsI get the phpfiddle you posted. Working with this theme is very confusing to me.
here is the template content-blog.php – https://pastebin.com/2EcZxcE7
Whats weird is I put what we have been working on in the homepage.php template with a template name, and selected that template to be used on the “Home” page within wordpress. So in theory it should be using that template, right?
What am I missing here?
I have been picking my brain since your last post. I appreciate your help.
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsThanks for the pastebin – I applied that code and its not working you can see a *test site setup with dummy content here – https://insider.claytonmiller.com/home/
I have that template applied to the “home” page. I cant even see the div “ad” show in the source code. Im so puzzled on this.
Thanks again for the help on this.
Forum: Fixing WordPress
In reply to: Need help modifying loop to display ads every few postsThanks for the reply –
I tried adding what you said but its not working. Could you create an updated pastebin of my template so I can see exactly what your saying?