sallywp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorGot it. That worked. Thanks so much for your help and patience with all of this!
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorWhen you say hook into _before_article action, what does that mean, exactly? I just copied and pasted what’s in the gray area into my php file and it caused a server error.
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi,
I will try this out, thanks! But what do I put instead of all that text if I want to use the featured pages widget to add content?
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorOn the picture I provided for you:
I have the CSS set according to this:
add_action(‘__before_content’ , ‘display_my_fp_widget’);
function display_my_fp_widget() {
if ( ! tc__f(‘__is_home’) )
return;
global $wp_query;
if ($wp_query->current_post == 0) {
dynamic_sidebar(‘fp_widgets’);
}
}The picture on the top left corner is actually the thumbnail that corresponds to the text at the bottom {the foodie guide to Turkish cuisine). That text is the title of the latest post because I have the home page set to latest posts.
The are that says “where I’ve been” and the map underneath it is a featured pages widget. For some reason, anytime I try to add content to the FP widget, the content shows up between the title and the thumbnail of the latest post.
What I would like is for the FP widget to stretch so that the all the latest posts (including the title and thumbnail) is below anything I insert into the FP widget. I imagine the issue has to do with customizing the widget size. I’m just not sure how to do that.
Does that make sense?
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi,
Apologies, it was set to private. It should work now. Here it is again: https://picasaweb.google.com/109402086603161483632/January82016?authkey=Gv1sRgCM_cseDF7N7K_AE#6237597911613668898
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
As you can see, the photo on the top left corner is actually the thumbnail from the most recent post.
It’s interfering with the content I’m trying to add to the FP widget area. In this case, the map. This happens any time I try to add content to the FP area, no matter the size. Essentially, I would like the content to take up the full width of the area / be responsive so that the posts are pushed below whatever gets added to the widget area. is this possible?
Thanks!
https://picasaweb.google.com/109402086603161483632/January82016#6237597911613668898
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
This is still part of the same issue but I can open another thread if you would like. Essentially any content I try to put in the area doesn’t take up the full width of the page according to the layout. It interferes with the content below it.
I don’t have it live at the moment as it makes the site look really bad. Is there a way I can send you a screenshot?
Thanks!
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
That is REALLY close.
I’m trying to add in a map using the Interactive Map Builder. When I add in the shortcode, the map gets placed next to the post thumbnail and the post title and excerpt get pushed to the bottom.
Is there a way to make the area stretch so it takes up the entire length it’s occupying? I don’t need it to be the full width of the page as I’m using a the right sidebar template but I don’t want it to interfere with the content showing the posts. https://passportandplates.com
Thanks so much!
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorIs there a way to use this code but prevent it from repeating before every piece of content? Just have it display before content once?
add_action(‘__before_content’ , ‘display_my_fp_widget’);
function display_my_fp_widget() {
if ( ! tc__f(‘__is_home’) )
return;
dynamic_sidebar(‘fp_widgets’);
}Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
I had my hosting provider remove the error and it’s restored. so if I want a specific page in the custom content, how would I do that?
replace “custom content” with page id=32 for each of time it says custom content in the below code?
add_action(‘__loop’,’add_custom_content_before_posts’);
function add_custom_content_before_posts(){
global $wp_query;
if ($wp_query->current_post == 0) {
echo “YOUR CUSTOM CONTENT\n”;
}Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
What exactly goes in the “your custom content” section? I just copied and pasted the code as is and it caused my site to go down.
Forum: Themes and Templates
In reply to: [Customizr] Slider Height and Width – Size ReductionHello,
I haven’t made any adjustments to the width as I’m unsure how – is there a way to do this or check if there are any adjustments?
Right now, the custom height is set to 300 px. I tried testing the slider with a variety of image sizes (listed below) but I haven’t been able to find the optimal size that works in the slider.
1170×300
1170×500
702×300
702×280
702×220
702×225So far, the on that seems to cut off the least is 702×225, but I’m just trying to understand what exactly is the optimal size so I can design accordingly.
Thanks!
Forum: Themes and Templates
In reply to: [Customizr] Featured Pages Widget: "After Content" ErrorHi Menaka,
That only works if I activate the featured pages. I would like to avoid activating FP unless absolutely necessary. Is there a workaround?
Thanks!
Forum: Plugins
In reply to: [Social Share Icons & Social Share Buttons] Pinterest Counts not displayingGot it. The other social networks show my follower count – is there a way to make the pinterest one do the same?
Thanks!
Forum: Themes and Templates
In reply to: [Customizr] Adding a recent posts section on the home pageHi,
Yes this is exactly it, thank you!
I noticed this only works if I have the featured pages enabled. Is it possible to do this without enabling featured pages?
Thanks!