Aloris
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can get movement menu options?Hello Christine,
Thanks for reply and help. I saw the link and it seems it works similar, the difference is I would like when mouse over, but that could be after I could apply that code in my page.
How can I include that jquery script into the page? with some plugin? in which file?
Any help you can say me to get a better direction would be very appreciated.
Regards
Forum: Fixing WordPress
In reply to: If statement to compare page title or page slug (is like or regex)?Hello keesiemeijer,
Sorry for my lateness. Thank youuu for reply and help. It works perfect!!!.
Then when aren’t pages, but posts, events, categories etc I have to use is_category(), is_post() and similar? or custom fields can be applicable to all these event types?
Best regards and thanks again.
Forum: Fixing WordPress
In reply to: Use different menu depending page/postHello Marventus,
Many thanks for your reply and help.
I’ve been trying and I’ve been able to complete step 1 and 2, but I have problems with step 3 so far.
The file that controls the men navigation in weaver 2.2.6 is nav-bottom.php.
The original part where I think I have to modify is:
if (weaver_getopt('ttw_use_superfish')) wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'menu_class' => 'sf-menu', 'fallback_cb' => 'weaver_page_menu' ) ); else wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );I’ve modified following your code, but instead of use is_category(), I’ve used is_page(). I get the 2nd menu in the page I want, but appear all buttons vertically and not horizontally as the main menu.
I’ve modified as below:
if (weaver_getopt('ttw_use_superfish')) if ( is_page('Category A') ) {wp_nav_menu(array( 'theme_location' => 'cat-a-menu') );} elseif (is_page('Category B') ) {wp_nav_menu(array('theme_location' => 'cat_b_location'));} else {wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'menu_class' => 'sf-menu', 'fallback_cb' => 'weaver_page_menu' ) );} else wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );May you help me to fix this?
Thanks in advance
Forum: Fixing WordPress
In reply to: A plugin to get this semi slideshow effect?Thanks for your reply and help vtxyzzy,
Now I know the effect name and know the plugin exists. I think the link you shared me will help me a lot to try to test that effect.
Many thanks again.
Greetings
Forum: Fixing WordPress
In reply to: How to set fixed columns width to this table?Hi esmi,
Thanks for your reply. The issue is the table appears different when I insert it in wordpress and looks good when I see the table directly in mozilla.
I’ve used firebug but simply when I change the width of the columns, don’t change when I see the output in wordpress.
May be somebody guide me why this happen or how is as better way to insert a table in wordpress?
Thanks in advance.
Many thanks for your kinf and great support through all the thread.
With the info you share to get a thumbnail navigation I hope I could get that feature working.
Many thanks again really man.
Best regards
Thank you for all your help. I found what was the problem. My error, the other website’s server has another config for files, then the file meteor-slide.css in theme directory it had not permissions. I changed to 774 and works. I only had to change a little bit the same rules because for some reason, the rules exactly as in the other site didn’t work. I mean, some pixel more or less.
My very last question, is possible to show thumbnails below the slides (replacing the slide buttons that are below the slideshow)?
Many thanks to guide me to solve my problem.
Best regards
Hello JLeuze,
I’ve been trying following the steps in your link about custom stylesheets.
I’ve copied the meteor-slideshow.css into weaver directory and this css file is the same as the original except that has the changes to the rules to center slideshow and move buttons. Besides that contains a rule for the div where the slideshow is centered.
I’ve tried the same file and copying the png buttons to images theme folder and works in one site, but in other site doesn’t work doing the same steps. In this 2nd site, in order to get the changes I want, I have to add the rules into <HEAD> section within Advance options of Weaver.
I’m not sure why the behaviour is different in both sites using the same theme (weaver 2.2.6) and using the same CSS code for the div and same images size (467×300 px).
Thanks for your help really.
Regards
Hello Jleuze,
Many thanks for your support, that fixed the cutoff problem, I could center the slide moving it left because for some reason margin:0 doesn’t work.
The last question, It seems the rules work but only when I inserted them in <HEAD> section within Weaver Admin–>Advance Options. If I use this rules putting a custom stylesheet in theme’s directory, doesn’t work.
My confusion is because when I put the same custom stylesheet in the other website doing the same steps, it works, only the behaviour in this website is different.
How can I do to work the custom stylesheet in the other website?
Many thanks for your help.
Regards
Hello again JLeuze,
I’ve been able to center the buttons below the slide but using the same CSS rules in another website that has running under weaver 2.2.6 the prev and next buttons are being cutted when I try to move them outside the slide area, please see this test page.
As you can see with firebug, the images are shifted to the left within the slideshow box even when it looks the slideshow box is centered within the div. The images aren’t filling completely the slideshow box.
If I move Next button to the right let say 30px, it disappears.
If I move Prev button to the left let say 30px, it disappears.Please some help on this:
Many thanks in advance.
Hey JLeuze,
Thanks for your reply, your code works as I need thank youuu.
But I’m trying without success to center the buttons that are below of the slides. Currently they are to the left.
I’ve tried with:
#apDivMenuSlide .meteor-nav .meteor-buttons { right: 100px; }But is not working.
Additionally, is there a way to show those buttons that are below of the slides as thumbnails of the slides?
Thanks for help so far.
Regards
Forum: Fixing WordPress
In reply to: Add category next to date in postsHi again geeksgolder,
I was able to find the solution thanks to your introductions of where should be modified the code. I’ve done as follow:
1-) Before the following line
if (!weaver_getopt('ttw_post_hide_date')) {
I inserted this (your original line, I only moved it)
$category = get_the_category($post->ID);2-) I replaced the $msg variable within both if statements, “if (!weaver_getopt(‘ttw_post_hide_date’)) {” and within “if (weaver_getopt(‘ttw_post_hide_author’))” from the original to this:
$msg = __( ' %2$s <span class="meta-sep"> </span> <a href="?cat='.$category[0]->term_id.'" title="View all posts in '.$category[0]->cat_name.'">'.$category[0]->cat_name.'</a>', WEAVER_TRANS );3-) And finally to get the right arrow, within the “if (weaver_getopt(‘ttw_post_hide_author’)) ” in the print function I’ve added the entity number changing this line:
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a> ',
to this:
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a> →', /** Added entity number (→) to display right arrow */I hope help in the future to somebody with the same question.
Many thanks again geeksfolder to give the php intro and guide me to where I had to focus.
Best regards
Forum: Fixing WordPress
In reply to: Add category next to date in postsI don’t now why cat_id doesn’t seem to return any value, I understand a little bit what you’re doing and I changed cat_id to term_id in this way:
<a href="?cat='.$category[0]->term_id.'"even when I think is not the best way it works but I have to add “?cat=” too.
Well, now I have the format
Posted on Date in MyCategory by AuthorIn the options I said you in previous post exist the options to hide both “Posted on” and “by Author”, but if I check “Hide Post Info Fill-in:” dissapear “Posted on” and “in”.
And if I check “Hide Post Author:”, dissapear “by Author” and “MyCategory”.
So, in this point that the category is appearing as link format,
How can I hide only “Posted on” and “by Author” in order to get only
Date in MyCategoryIf it possible using the check options from theme to hide those texts.
Many thanks again
Forum: Fixing WordPress
In reply to: Add category next to date in postsHey geeksfolder,
Now it’s closer, appear the link in the format “website.com/MyCategory”, but the only thing is that currently the “pretty premalinks” are not working for me, then the links must be in the form “website.com/?cat=2”
With cat number.
Thanks really
Forum: Fixing WordPress
In reply to: Add category next to date in postsOne more thing, I would like to hide the post author, then the theme has the option “Hide Post Author” going to
Dashboard–>Appearance–>Weaver Admin–>Main options–>Post Page SpecificsWhen I check in “Hide Post Author” the author doesn’t appears anymore as expected but the category doesn’t appear either, only appears the date.
In summary, having checked first the “Hide Post Author” I would like to
have in any place where a post appears:Post title Date in MyCategory Some text ....but “MyCategory” being a link for the posts of that category.
I hope you could help me this.
Thanks for time and patience.
Regards